Now that we don't create a new event context, don't free it.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 16 Apr 2008 07:02:12 +0000 (09:02 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Apr 2008 07:02:12 +0000 (09:02 +0200)
This previously would free the torture provided global event context.

Andrew Bartlett
(This used to be commit 664f2fc49f32a081f14638571ee0db01a7863347)

source4/lib/messaging/tests/messaging.c

index 45b573518cc87d691b81c90686dda96c6af77bb7..f66b3a5b438728af4bc1c39222fbcb992740c66d 100644 (file)
@@ -134,7 +134,6 @@ static bool test_ping_speed(struct torture_context *tctx)
        talloc_free(msg_client_ctx);
        talloc_free(msg_server_ctx);
 
        talloc_free(msg_client_ctx);
        talloc_free(msg_server_ctx);
 
-       talloc_free(ev);
        return true;
 }
 
        return true;
 }