Browse Source

cmProc4.c Fixed bug where cmScFolFinal() did not delete p->edWndMtx.

master
kpl 11 years ago
parent
commit
22d8ab1918
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      cmProc4.c

+ 5
- 1
cmProc4.c View File

@@ -49,13 +49,17 @@ cmRC_t   cmScFolFree(  cmScFol** pp )
49 49
     cmMemFree(p->loc[i].pitchV);
50 50
 
51 51
   cmMemFree(p->loc);
52
+  cmMemFree(p->bufV);
52 53
   cmObjFree(pp);
53 54
   return rc;
54 55
 }
55 56
 
56 57
 
57 58
 cmRC_t   cmScFolFinal( cmScFol* p )
58
-{ return cmOkRC; }
59
+{ 
60
+  cmMemFree(p->edWndMtx);
61
+  return cmOkRC; 
62
+}
59 63
 
60 64
 void _cmScFolPrint( cmScFol* p )
61 65
 {

Loading…
Cancel
Save