res_config_ldap.c: Fix mem leak in CLI "realtime show ldap status"

Change-Id: Ib2a3622b297b0363c62d23958f7a20039bcb9b4c
13.23
Richard Mudgett 7 years ago
parent 694503d378
commit 33668ab46a

@ -2006,6 +2006,7 @@ static char *realtime_ldap_status(struct ast_cli_entry *e, int cmd, struct ast_c
} else {
ast_cli(a->fd, "%s for %d seconds.\n", ast_str_buffer(buf), ctimesec);
}
ast_free(buf);
return CLI_SUCCESS;
}

Loading…
Cancel
Save