Index: trunk/src_3rd/load_cache/load_cache.c =================================================================== --- trunk/src_3rd/load_cache/load_cache.c (revision 804) +++ trunk/src_3rd/load_cache/load_cache.c (revision 805) @@ -98,7 +98,7 @@ return htsp_get(&ctx->high_parsers, name); } -static void ldch_free_data(ldch_ctx_t *ctx, ldch_data_t *data) +void ldch_data_free(ldch_ctx_t *ctx, ldch_data_t *data) { if (data->high_parser->free_payload != NULL) data->high_parser->free_payload(data); @@ -110,7 +110,7 @@ long n; for(n = 0; n < file->data.used; n++) - ldch_free_data(ctx, file->data.array[n]); + ldch_data_free(ctx, file->data.array[n]); vtp0_uninit(&file->data); Index: trunk/src_3rd/load_cache/load_cache.h =================================================================== --- trunk/src_3rd/load_cache/load_cache.h (revision 804) +++ trunk/src_3rd/load_cache/load_cache.h (revision 805) @@ -104,6 +104,8 @@ /*** calls for parsers ***/ ldch_data_t *ldch_data_alloc(ldch_file_t *file, ldch_high_parser_t *high_parser, size_t payload_size); +void ldch_data_free(ldch_ctx_t *ctx, ldch_data_t *data); + ldch_file_t *ldch_file_alloc(ldch_ctx_t *ctx, ldch_low_parser_t *low_parser, size_t low_payload_size); #endif