when a game's opened from an Android db, there's no row data to delete

This commit is contained in:
Eric House 2016-03-04 19:28:38 -08:00
parent 4f3d620cd6
commit 9fb5f49595

View file

@ -508,7 +508,9 @@ freeGameGlobals( gpointer data )
LOG_FUNC();
GtkGameGlobals* globals = (GtkGameGlobals*)data;
GtkAppGlobals* apg = globals->apg;
recordClosed( apg, globals );
if ( !!apg ) {
recordClosed( apg, globals );
}
freeGlobals( globals );
return 0; /* don't run again */
}