Browse Source

NULL pointer dereference.

Etienne Samson 12 years ago
parent
commit
c64d73ece1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/FMDatabase.m

+ 1 - 1
src/FMDatabase.m

@@ -1102,7 +1102,7 @@ - (BOOL)rollbackToSavePointWithName:(NSString*)name error:(NSError**)outErr {
     
     BOOL worked = [self executeUpdate:[NSString stringWithFormat:@"rollback transaction to savepoint '%@';", name]];
     
-    if (!worked && *outErr) {
+    if (!worked && outErr) {
         *outErr = [self lastError];
     }