Merge "app_queue.c: Fix json ref leak" into 16
This commit is contained in:
commit
c69e5cd764
|
@ -2255,6 +2255,7 @@ static void queue_publish_member_blob(struct stasis_message_type *type, struct a
|
|||
RAII_VAR(struct stasis_message *, msg, NULL, ao2_cleanup);
|
||||
|
||||
if (!blob || !type) {
|
||||
ast_json_unref(blob);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue