From 23c0a5ab65187a4f9ad8e5fdf3b7cd244d40f160 Mon Sep 17 00:00:00 2001 From: rheiny Date: Sun, 11 Feb 2007 15:37:47 +0000 Subject: [PATCH] Fixed a bug in the Directories configuration dialog. --- src/drivers/win/directories.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/drivers/win/directories.cpp b/src/drivers/win/directories.cpp index a84d2d97..d9c651d6 100644 --- a/src/drivers/win/directories.cpp +++ b/src/drivers/win/directories.cpp @@ -72,6 +72,11 @@ void CloseDirectoriesDialog(HWND hwndDlg) return; } } + else + { + free(buffer); + return; + } free(buffer); }