summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-06-23 20:46:52 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-23 20:46:52 +0200
commit18d46587b985923ef4b90b19a0cf37a094607fec (patch)
tree6e680815dc89cd49aa178486f320df88191fecf8 /src/gui.c
parent8cec9273d2518f2a9abcbd326722a2eba38d2a13 (diff)
patch 8.2.3040: GUI: dropping files not testedv8.2.3040
Problem: GUI: dropping files not tested. Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan, closes #8434)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index b5ec007405..c748fae4ce 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -5567,6 +5567,7 @@ gui_handle_drop(
{
vim_free(fnames[0]);
vim_free(fnames);
+ vim_free(p);
}
else
handle_drop(count, fnames, (modifiers & MOUSE_CTRL) != 0,