mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
Merge "Stasis/ARI: Fix off-nominal path json memory leaks." into 13
This commit is contained in:
@@ -1597,6 +1597,7 @@ struct ast_json *ast_sorcery_objectset_json_create(const struct ast_sorcery *sor
|
||||
int res = 0;
|
||||
|
||||
if (!object_type || !json) {
|
||||
ast_json_unref(json);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user