projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- docs
[oweals/gnunet.git]
/
src
/
testbed
/
testbed_api_operations.c
diff --git
a/src/testbed/testbed_api_operations.c
b/src/testbed/testbed_api_operations.c
index 47d135ffd47d09532d5c44a61bd788c6a88b5156..62bd5974835fe189f53506ff5a23cbf0fb56597b 100644
(file)
--- a/
src/testbed/testbed_api_operations.c
+++ b/
src/testbed/testbed_api_operations.c
@@
-497,8
+497,12
@@
decide_capacity (struct OperationQueue *opq,
ret:
GNUNET_free_non_null (evict_entries);
- if (NULL != ops_) *ops_ = ops;
- if (NULL != n_ops_) *n_ops_ = n_ops;
+ if (NULL != ops_)
+ *ops_ = ops;
+ else
+ GNUNET_free (ops);
+ if (NULL != n_ops_)
+ *n_ops_ = n_ops;
return rval;
}