From e7d10a716f8437f26410856aa932d7066f6ac0ac Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 1 Nov 2016 00:42:30 +0100 Subject: [PATCH] Fix #6084 - crash in V! -> Close --- libr/bin/bin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libr/bin/bin.c b/libr/bin/bin.c index 4c5a03b92c..4e402f1cd3 100644 --- a/libr/bin/bin.c +++ b/libr/bin/bin.c @@ -2246,6 +2246,7 @@ R_API int r_bin_file_delete_all(RBin *bin) { r_list_delete (bin->binfiles, iter); counter++; } + bin->cur = NULL; } return counter; }