From 8b9b2ab39943070706515485cff6e23cbb564003 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Tue, 24 Jul 2012 13:46:12 +0000 Subject: fixed mem leaks with operations --- src/testbed/testbed_api_operations.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/testbed/testbed_api_operations.h') diff --git a/src/testbed/testbed_api_operations.h b/src/testbed/testbed_api_operations.h index 4c888d52d..5edca152d 100644 --- a/src/testbed/testbed_api_operations.h +++ b/src/testbed/testbed_api_operations.h @@ -128,5 +128,15 @@ GNUNET_TESTBED_operation_create_ (void *cls, ...); +/** + * An operation is 'done' (was cancelled or finished); remove + * it from the queues and release associated resources. + * + * @param operation operation that finished + */ +void +operation_release_ (struct GNUNET_TESTBED_Operation *operation); + + #endif /* end of testbed_api_operations.h */ -- cgit v1.2.3