r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[abartlet/samba.git/.git] / source4 / torture / rpc / atsvc.c
index 3d28fa775e26254b541d9ef1bd946d4210580106..fd29a9228b23e89b7e460f7b891d493c23f5612a 100644 (file)
@@ -158,7 +158,7 @@ BOOL torture_rpc_atsvc(void)
                return False;
        }
 
-       talloc_destroy(mem_ctx);
+       talloc_free(mem_ctx);
 
         torture_rpc_close(p);