]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
add another LOW_MEMORY define I forgot
authorJeff Peeler <jpeeler@digium.com>
Fri, 6 Jun 2008 18:29:14 +0000 (18:29 +0000)
committerJeff Peeler <jpeeler@digium.com>
Fri, 6 Jun 2008 18:29:14 +0000 (18:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@120959 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 753118e8cbf63189290343c2ea3e752dcc0b3ad5..2838110cee843df9edd1e1abff5d44ab04dfd958 100644 (file)
@@ -5612,11 +5612,13 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
        return 0;
 }
 
+#ifdef LOW_MEMORY
 static void ts_ast_rtp_destroy(void *data)
 {
     struct ast_rtp *tmp = data;
     ast_rtp_destroy(tmp);
 }
+#endif
 
 /*! \brief Add header to SIP message */
 static int add_header(struct sip_request *req, const char *var, const char *value)