aboutsummaryrefslogtreecommitdiffstats
path: root/netsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'netsock.c')
-rwxr-xr-xnetsock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/netsock.c b/netsock.c
index da22c549c..386f15660 100755
--- 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);
+}