]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
- Fix memory leak - After cwc_running is set to 0 in capmt_destroy, capmt and capmt...
authorBenny Morgan <benny@zuragon.com>
Sun, 30 Jun 2013 19:35:43 +0000 (21:35 +0200)
committerBenny Morgan <benny@zuragon.com>
Sun, 30 Jun 2013 19:35:43 +0000 (21:35 +0200)
src/capmt.c

index 341abce59fd58593f9f59183fa40169b472b72a3..16a774cc70339eabe8dedd171a12bf5c0fbc6043 100644 (file)
@@ -665,6 +665,9 @@ capmt_thread(void *aux)
     pthread_mutex_unlock(&global_lock);
   }
 
+  free(capmt->capmt_id);
+  free(capmt);
+
   return NULL;
 }