mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Merge "app_queue.c: Fix json ref leak"
This commit is contained in:
@@ -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);
|
RAII_VAR(struct stasis_message *, msg, NULL, ao2_cleanup);
|
||||||
|
|
||||||
if (!blob || !type) {
|
if (!blob || !type) {
|
||||||
|
ast_json_unref(blob);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user