ccnxwrapper clean up works
diff --git a/model/sync-ccnx-wrapper.cc b/model/sync-ccnx-wrapper.cc
index b901a43..d995e81 100644
--- a/model/sync-ccnx-wrapper.cc
+++ b/model/sync-ccnx-wrapper.cc
@@ -157,7 +157,7 @@
switch (kind)
{
- case CCN_UPCALL_FINAL:
+ case CCN_UPCALL_FINAL: // effective in unit tests
delete f;
delete selfp;
return CCN_UPCALL_RESULT_OK;
@@ -191,8 +191,8 @@
switch (kind)
{
- case CCN_UPCALL_FINAL:
- delete f; // this never called in unit tests...
+ case CCN_UPCALL_FINAL: // effecitve in unit tests
+ delete f;
delete selfp;
return CCN_UPCALL_RESULT_OK;