Janitor project: convert free to ast_free
(closes issue #13082) Reported by: eliel Patches: app_rpt.c.patch uploaded by eliel (license 64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@131529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
28fa79c23c
commit
8d95aefbde
|
@ -14741,11 +14741,11 @@ static int rpt_manager_do_stats(struct mansession *s, const struct message *m, c
|
|||
astman_append(s, "RemOffset: %c\r\n", offsetc);
|
||||
if(rxplon && rxpl){
|
||||
astman_append(s, "RxPl: %s\r\n",rxpl);
|
||||
free(rxpl);
|
||||
ast_free(rxpl);
|
||||
}
|
||||
if(txplon && txpl){
|
||||
astman_append(s, "TxPl: %s\r\n",txpl);
|
||||
free(txpl);
|
||||
ast_free(txpl);
|
||||
}
|
||||
}
|
||||
switch(powerlevel){
|
||||
|
|
Loading…
Reference in New Issue