make app_queue 1.2 jump compliant (issue #5580)
[asterisk/asterisk.git] / netsock.c
index da22c54..386f156 100755 (executable)
--- a/netsock.c
+++ b/netsock.c
@@ -214,3 +214,8 @@ void *ast_netsock_data(const struct ast_netsock *ns)
 {
        return ns->data;
 }
+
+void ast_netsock_unref(struct ast_netsock *ns)
+{
+       ASTOBJ_UNREF(ns, ast_netsock_destroy);
+}