Fix after bridge callback datastore data memory leak.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 29 Jun 2013 00:26:07 +0000 (00:26 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 29 Jun 2013 00:26:07 +0000 (00:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393240 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/bridging.c

index b44e14d..5dcd580 100644 (file)
@@ -3171,6 +3171,7 @@ static void after_bridge_cb_destroy(void *data)
                after_bridge->failed(AST_AFTER_BRIDGE_CB_REASON_DESTROY, after_bridge->data);
                after_bridge->failed = NULL;
        }
+       ast_free(after_bridge);
 }
 
 /*!