From 6381400377bbff94b10b6f5140d618edca2f1178 Mon Sep 17 00:00:00 2001 From: TheXception Date: Sun, 22 Apr 2007 07:17:03 +0000 Subject: small fix git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@524 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/system/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/system/plugin.cpp') diff --git a/src/modules/system/plugin.cpp b/src/modules/system/plugin.cpp index 2c53191f2..dbe40e300 100644 --- a/src/modules/system/plugin.cpp +++ b/src/modules/system/plugin.cpp @@ -123,7 +123,7 @@ bool KviPlugin::pfree(char * pBuffer) if (function_free) { //TODO: THREAD - function_free(pBuffer); + if(pBuffer) function_free(pBuffer); return true; } return false; -- cgit v1.3.1-10-gc9f91