summaryrefslogtreecommitdiff
path: root/package/asterisk/patches/patch-res_res_features_c
blob: a237fbf97af7d7e3b3b836629ee73101c681b470 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- asterisk-1.4.27.1.orig/res/res_features.c	2009-10-20 19:46:37.000000000 +0200
+++ asterisk-1.4.27.1/res/res_features.c	2009-12-03 20:53:57.000000000 +0100
@@ -279,7 +279,7 @@ static void *ast_bridge_call_thread(void
 	ast_bridge_call(tobj->peer, tobj->chan, &tobj->bconfig);
 	ast_hangup(tobj->chan);
 	ast_hangup(tobj->peer);
-	bzero(tobj, sizeof(*tobj)); /*! \todo XXX for safety */
+	memset(tobj, 0, sizeof(*tobj)); /*! \todo XXX for safety */
 	free(tobj);
 	return NULL;
 }