Fix bug in dbase_file_flush
This patch fixes a bug in the file flush function. Applies on top of the large patch I sent earlier.
libsemanage/src/database_file.c +1 -1
@@ -180,7 +180,7 @@ static int dbase_file_flush(if (!dbase->modified || !dbase->cached)return STATUS_SUCCESS ; -if (!construct_filename (handle, dbase, &fname) <0 ) +if (construct_filename (handle, dbase, &fname) <0 ) goto err; str =fopen (fname,"w" );