Merged revisions 339245 via svnmerge from
[asterisk/asterisk.git] / addons / ooh323c / src / memheap.c
index 0515ff9..f92fa53 100644 (file)
@@ -1062,6 +1062,7 @@ void memHeapAddRef (void** ppvMemHeap)
 void memHeapRelease (void** ppvMemHeap)
 {
    OSMemHeap** ppMemHeap = (OSMemHeap**)ppvMemHeap;
+   OSMemHeap* pMemHeap = *ppMemHeap;
 
    if (ppMemHeap != 0 && *ppMemHeap != 0 && --(*ppMemHeap)->refCnt == 0) {
       OSMemLink* pMemLink, *pMemLink2;