Original bug ID: 6760 Reporter:@whitequark Assigned to:@whitequark Status: closed (set by @xavierleroy on 2016-12-07T10:47:12Z) Resolution: fixed Priority: normal Severity: major Fixed in version: 4.03.0+dev / +beta1 Category: runtime system and C interface Tags: patch Related to:#6468 Monitored by:@gasche@hcarty
I find it rather suspicious that caml_ext_table_remove would take the responsibility to caml_stat_free the data to remove. Does this really correspond to the ownership disciplines of all users of caml_ext_table_add?
Also, I'm not familiar with this part of the code, but isn't abort()ing in caml_static_release_bytecode a bit overconfident? I would be more comfortable with at least an error message.