diff options
Diffstat (limited to 'res/res_fax.c')
-rw-r--r-- | res/res_fax.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_fax.c b/res/res_fax.c index c4e64cd71..e05b101f7 100644 --- a/res/res_fax.c +++ b/res/res_fax.c @@ -1774,6 +1774,7 @@ static int report_receive_fax_status(struct ast_channel *chan, const char *filen struct ast_json *json_filename = ast_json_string_create(filename); if (!json_array || !json_filename) { + ast_json_unref(json_filename); return -1; } ast_json_array_append(json_array, json_filename); |