From 3d1efe7a802aaafc812957fcb2d18fb64efbc242 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Wed, 21 Jan 2015 22:40:24 +0200 Subject: [PATCH] Fixed freeing some memory. --- msearch.c | 1 + rtcp.c | 2 +- rtp.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/msearch.c b/msearch.c index 9f28d32..d3c314d 100644 --- a/msearch.c +++ b/msearch.c @@ -35,6 +35,7 @@ cSatipMsearch::cSatipMsearch(cSatipDiscoverIf &discoverP) cSatipMsearch::~cSatipMsearch() { + FREE_POINTER(bufferM); } void cSatipMsearch::Probe(void) diff --git a/rtcp.c b/rtcp.c index 4008633..d97f215 100644 --- a/rtcp.c +++ b/rtcp.c @@ -25,7 +25,7 @@ cSatipRtcp::cSatipRtcp(cSatipTunerIf &tunerP) cSatipRtcp::~cSatipRtcp() { debug1("%s [device %d]", __PRETTY_FUNCTION__, tunerM.GetId()); - DELETE_POINTER(bufferM); + FREE_POINTER(bufferM); } int cSatipRtcp::GetFd(void) diff --git a/rtp.c b/rtp.c index 3d033f9..f375be0 100644 --- a/rtp.c +++ b/rtp.c @@ -29,7 +29,7 @@ cSatipRtp::cSatipRtp(cSatipTunerIf &tunerP) cSatipRtp::~cSatipRtp() { debug1("%s [device %d]", __PRETTY_FUNCTION__, tunerM.GetId()); - DELETE_POINTER(bufferM); + FREE_POINTER(bufferM); } int cSatipRtp::GetFd(void)