diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-10-20 17:00:31 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-10-21 18:42:17 -0400 |
| commit | 4a23b6a89fbc7626e31d4cd72b1eccbd0b570009 (patch) | |
| tree | 6b31c9266a293f540b660157d043407752791a10 /include | |
| parent | cd42096f5a8a15573ccb1e8bcd83872877907541 (diff) | |
Fix memory leak in RCLASS_SET_NAMESPACE_CLASSEXT
The st_insert in RCLASS_SET_NAMESPACE_CLASSEXT may overwrite an existing
rb_classext_t, causing it to leak memory. This commit changes it to use
st_update to free the existing one before overwriting it.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
