diff options
| author | cremno <[email protected]> | 2014-11-20 01:20:30 +0100 |
|---|---|---|
| committer | cremno <[email protected]> | 2014-11-20 01:20:30 +0100 |
| commit | 6619fd338a033575333a18d2cab8a4a9af5a8ed7 (patch) | |
| tree | d170ae224d2104615a3a1eac2e3b9d52ffa2d504 | |
| parent | a232dc60844cb9136f223b871280653caedc989d (diff) | |
| download | mruby-6619fd338a033575333a18d2cab8a4a9af5a8ed7.tar.gz mruby-6619fd338a033575333a18d2cab8a4a9af5a8ed7.zip | |
free memory used by breakpoints
| -rwxr-xr-x | mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c index ec5a68dc1..7a0c37b2c 100755 --- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c +++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c @@ -215,6 +215,7 @@ void mrb_debug_context_free(mrb_state *mrb) { if (_debug_context) { + mrb_debug_delete_break_all(mrb, _debug_context); mrb_free(mrb, _debug_context); _debug_context = NULL; } |
