db.c
changeset 10 d07309450285
parent 7 e4f1a551d45c
child 13 23a242d7b7fa
--- a/db.c	Wed Sep 28 09:04:16 2011 -0700
+++ b/db.c	Mon Oct 17 09:12:00 2011 -0700
@@ -106,8 +106,7 @@
 					(i == 1 ? "initalizing" : "upgrading"), sqlite3_errmsg(v.db) );
 			return( sqlite3_errcode(v.db) );
 		}
-		free( upgrade_sql );
-		upgrade_sql = NULL;
+		free( upgrade_sql ), upgrade_sql = NULL;
 
 		/* update version metadata in DB if update was successful */
 		current_version = i;