diff options
author | Joshua Colp <jcolp@digium.com> | 2017-11-06 08:39:20 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-11-06 08:39:20 -0600 |
commit | 1479d2603eabbd34c9cf93daa99bbd683184094c (patch) | |
tree | 51dee20d09989e0913eae76783d77fcb5fb16ba8 /main | |
parent | 6e34cf6af7efd6810c46798a05f52d1e7405e67a (diff) | |
parent | 3bce5a9dfa0e30942cac097a3161ada9c5bf60ee (diff) |
Merge "Stasis/ARI: Fix off-nominal path json memory leaks." into 13
Diffstat (limited to 'main')
-rw-r--r-- | main/sorcery.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/sorcery.c b/main/sorcery.c index 713b038e6..1bdf2c2f8 100644 --- a/main/sorcery.c +++ b/main/sorcery.c @@ -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; } |