mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
:-) (CVS 70)
FossilOrigin-Name: d3baa046c946a2c4d5567ee57d96a6c8aa5740b9
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
** other files are for internal use by SQLite and should not be
|
||||
** accessed by users of the library.
|
||||
**
|
||||
** $Id: main.c,v 1.10 2000/06/07 14:42:27 drh Exp $
|
||||
** $Id: main.c,v 1.11 2000/06/07 15:11:27 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -185,7 +185,7 @@ sqlite *sqlite_open(const char *zFilename, int mode, char **pzErrMsg){
|
||||
sqlite_close(db);
|
||||
return 0;
|
||||
}else{
|
||||
sqliteFree(*pzErrMsg);
|
||||
free(*pzErrMsg);
|
||||
*pzErrMsg = 0;
|
||||
}
|
||||
return db;
|
||||
|
Reference in New Issue
Block a user