From 4fd218b8bdfbb741264959e20cdace319db2c8c1 Mon Sep 17 00:00:00 2001 From: sboyd Date: Thu, 17 Dec 2009 21:55:07 +0000 Subject: [PATCH] Fixed a memory leak. --- src/gpre/fbrmclib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpre/fbrmclib.cpp b/src/gpre/fbrmclib.cpp index a5f283a569..d51e63a880 100644 --- a/src/gpre/fbrmclib.cpp +++ b/src/gpre/fbrmclib.cpp @@ -213,7 +213,7 @@ static void ClearShortPool() { for (int i = 0; i < MAX_PARAMS; i++) { - if (shortPoolInitialized && intPool[i]) + if (shortPoolInitialized && shortPool[i]) free(shortPool[i]); shortPool[i] = NULL; }