Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv6276

Modified Files:
        netsock.c 
Log Message:
allow netsock objects to be unref'd so they can disappear when needed (issue 
#5454)


Index: netsock.c
===================================================================
RCS file: /usr/cvsroot/asterisk/netsock.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- netsock.c   24 Oct 2005 20:12:05 -0000      1.3
+++ netsock.c   31 Oct 2005 23:16:26 -0000      1.4
@@ -214,3 +214,8 @@
 {
        return ns->data;
 }
+
+void ast_netsock_unref(struct ast_netsock *ns)
+{
+       ASTOBJ_UNREF(ns, ast_netsock_destroy);
+}

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to