Merge "main/asterisk.c: Remove silly usage of RAII_VAR." into 13

changes/10/8210/1
Jenkins2 9 years ago committed by Gerrit Code Review
commit 8212fd6bf4

@ -1160,11 +1160,12 @@ int ast_pbx_uuid_get(char *pbx_uuid, int length)
static void publish_fully_booted(void)
{
RAII_VAR(struct ast_json *, json_object, NULL, ast_json_unref);
struct ast_json *json_object;
json_object = ast_json_pack("{s: s}",
"Status", "Fully Booted");
ast_manager_publish_event("FullyBooted", EVENT_FLAG_SYSTEM, json_object);
ast_json_unref(json_object);
}
static void ast_run_atexits(int run_cleanups)

Loading…
Cancel
Save