mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Investigate and fix memory leaks in Asterisk
Fixed memory leaks that were found in Asterisk. ASTERISK-24693 #close Reported by: Kevin Harwell Review: https://reviewboard.asterisk.org/r/4347/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1817,6 +1817,8 @@ enum stasis_app_user_event_res stasis_app_user_event(const char *app_name,
|
||||
blob = json_variables;
|
||||
if (!blob) {
|
||||
blob = ast_json_pack("{}");
|
||||
} else {
|
||||
ast_json_ref(blob);
|
||||
}
|
||||
json_value = ast_json_string_create(event_name);
|
||||
if (!json_value) {
|
||||
|
Reference in New Issue
Block a user