ossp-pkg/act/act_hash.c 1.4 -> 1.5
--- act_hash.c 2000/08/20 13:57:53 1.4
+++ act_hash.c 2000/08/20 14:46:26 1.5
@@ -74,7 +74,7 @@
insist(data != NULL, NULL);
/* allocate a top-level data structure */
- if ((h = (act_hash_t *)act_mem_alloc(sizeof(act_hash_t))) == NULL) {
+ if ((h = (act_hash_t *)act_mem_alloc_ctx(ctx, sizeof(act_hash_t))) == NULL) {
method->m_free(ctx, data);
return NULL;
}
|
|