Fix memory leak in where.c. (CVS 3271)
FossilOrigin-Name: 3d10e8f36113a189aa19ecd99007cd0a926b2f8a
This commit is contained in:
+2
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user