Merged revisions 339245 via svnmerge from
authorAlexandr Anikin <may@telecom-service.ru>
Tue, 4 Oct 2011 12:27:02 +0000 (12:27 +0000)
committerAlexandr Anikin <may@telecom-service.ru>
Tue, 4 Oct 2011 12:27:02 +0000 (12:27 +0000)
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r339245 | may | 2011-10-04 15:49:49 +0400 (Tue, 04 Oct 2011) | 9 lines

  Merged revisions 339244 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r339244 | may | 2011-10-04 15:44:55 +0400 (Tue, 04 Oct 2011) | 2 lines

    fix forget declaration in previous change
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@339262 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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;