Ver código fonte

cmTimeLine:Release p->seq[] in finalize to prevent leak

master
kpl 11 anos atrás
pai
commit
59cbd9c297
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      app/cmTimeLine.c

+ 2
- 0
app/cmTimeLine.c Ver arquivo

@@ -873,6 +873,8 @@ cmTlRC_t _cmTimeLineFinalize( _cmTl_t* p )
873 873
         goto errLabel;   
874 874
     }
875 875
 
876
+  cmMemFree(p->seq);
877
+
876 878
   cmLHeapDestroy(&p->lH);
877 879
 
878 880
   //_cmTlNotifyListener(p, kFinalMsgTlId, NULL );

Carregando…
Cancelar
Salvar