diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-11-13 13:56:45 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-11-13 13:56:45 -0500 |
| commit | 45dd0537446e6343bc4a975be21e0f0d1ec655cd (patch) | |
| tree | 8a177b197d9f06c5cc934dbe8f92a7a2ebcde0ef /test/pkstr.c | |
| parent | 16e8bc9c3df35c0a1a538508fb74468798791107 (diff) | |
tests: force malloc compatibility
Diffstat (limited to 'test/pkstr.c')
| -rw-r--r-- | test/pkstr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pkstr.c b/test/pkstr.c index 8e7193b..ac174e1 100644 --- a/test/pkstr.c +++ b/test/pkstr.c @@ -67,6 +67,7 @@ int main(int argc, char *argv[]) if (s.val == os.val) return 1; if (os.val == nullptr) return 1; PK_LOGV_INF("pk_clone_pk_str, ('%s' to '%s')\n", s.val, os.val); + pk_delete(os.val, os.reserved, nullptr); } // pk_clone_pk_cstr @@ -78,6 +79,7 @@ int main(int argc, char *argv[]) if (cs.val == ocs.val) return 1; if (ocs.val == nullptr) return 1; PK_LOGV_INF("pk_clone_pk_cstr, ('%s' to '%s')\n", cs.val, ocs.val); + pk_delete(ocs.val, ocs.reserved, nullptr); } pk_mem_bucket_destroy(bkt); |
