summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/simfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simfs.c b/src/simfs.c
index 49f79dd5..8960bac6 100644
--- a/src/simfs.c
+++ b/src/simfs.c
@@ -105,6 +105,7 @@ void sim_fs_free(struct sim_fs *fs)
if (fs->op_q) {
g_queue_foreach(fs->op_q, (GFunc) sim_fs_op_free, NULL);
g_queue_free(fs->op_q);
+ fs->op_q = NULL;
}
if (fs->contexts != NULL) {