[Pkg-voip-commits] [janus] 11/282: Deallocate the local_ip when getting rid of the plugin

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit 7d5c4f9aae10e76b23b068e88650aee61159c442
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Wed Mar 8 12:45:12 2017 +0100

    Deallocate the local_ip when getting rid of the plugin
---
 plugins/janus_nosip.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/janus_nosip.c b/plugins/janus_nosip.c
index 1b67225..885e407 100644
--- a/plugins/janus_nosip.c
+++ b/plugins/janus_nosip.c
@@ -528,6 +528,8 @@ void janus_nosip_destroy(void) {
 	g_atomic_int_set(&initialized, 0);
 	g_atomic_int_set(&stopping, 0);
 
+	g_free(local_ip);
+
 	JANUS_LOG(LOG_INFO, "%s destroyed!\n", JANUS_NOSIP_NAME);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list