aboutsummaryrefslogtreecommitdiffstats
path: root/callerid.c
diff options
context:
space:
mode:
Diffstat (limited to 'callerid.c')
-rw-r--r--callerid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/callerid.c b/callerid.c
index f709bd501..39690eed9 100644
--- a/callerid.c
+++ b/callerid.c
@@ -280,6 +280,7 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, int
buf += (olen - mylen);
if (res < 0) {
ast_log(LOG_NOTICE, "fsk_serie failed\n");
+ free(obuf);
return -1;
}
if (res == 1) {