Fix memory leak in where.c. (CVS 3271)

FossilOrigin-Name: 3d10e8f36113a189aa19ecd99007cd0a926b2f8a
This commit is contained in:
danielk1977
2006-06-19 04:49:34 +00:00
parent b3d24bf8ee
commit 70b6d57373
4 changed files with 13 additions and 11 deletions
+2 -1
View File
@@ -16,7 +16,7 @@
** so is applicable. Because this module is responsible for selecting
** indices, you might also think of this module as the "query optimizer".
**
** $Id: where.c,v 1.218 2006/06/14 22:07:11 drh Exp $
** $Id: where.c,v 1.219 2006/06/19 04:49:35 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -1720,6 +1720,7 @@ WhereInfo *sqlite3WhereBegin(
if( sqlite3MallocFailed() ){
goto whereBeginNoMem;
}
pWInfo->nLevel = pTabList->nSrc;
pWInfo->pParse = pParse;
pWInfo->pTabList = pTabList;
pWInfo->iBreak = sqlite3VdbeMakeLabel(v);