Janitor project: convert free to ast_free
authorBrett Bryant <bbryant@digium.com>
Wed, 16 Jul 2008 22:28:01 +0000 (22:28 +0000)
committerBrett Bryant <bbryant@digium.com>
Wed, 16 Jul 2008 22:28:01 +0000 (22:28 +0000)
(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

apps/app_rpt.c

index 707c4e1..aa0218b 100644 (file)
@@ -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){