aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_operations.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-06-24 12:47:41 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-06-24 12:47:41 +0000
commit1e007a89197769e4e0f5ad36b583689a27f33cac (patch)
tree0fd01027c4f1feb0e6f9480d3a234fc9f3f35cea /src/testbed/testbed_api_operations.c
parent3d046f081a476705931e0e27fe678936b2ed2f05 (diff)
downloadgnunet-1e007a89197769e4e0f5ad36b583689a27f33cac.tar.gz
gnunet-1e007a89197769e4e0f5ad36b583689a27f33cac.zip
- coverity fixes
Diffstat (limited to 'src/testbed/testbed_api_operations.c')
-rw-r--r--src/testbed/testbed_api_operations.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_operations.c b/src/testbed/testbed_api_operations.c
index 47d135ffd..62bd59748 100644
--- a/src/testbed/testbed_api_operations.c
+++ b/src/testbed/testbed_api_operations.c
@@ -497,8 +497,12 @@ decide_capacity (struct OperationQueue *opq,
497 497
498 ret: 498 ret:
499 GNUNET_free_non_null (evict_entries); 499 GNUNET_free_non_null (evict_entries);
500 if (NULL != ops_) *ops_ = ops; 500 if (NULL != ops_)
501 if (NULL != n_ops_) *n_ops_ = n_ops; 501 *ops_ = ops;
502 else
503 GNUNET_free (ops);
504 if (NULL != n_ops_)
505 *n_ops_ = n_ops;
502 return rval; 506 return rval;
503} 507}
504 508