|
@@ -2498,9 +2498,9 @@ static void clear_work(struct work *work)
|
|
|
if (free_tmpl) {
|
|
if (free_tmpl) {
|
|
|
blktmpl_free(work->tmpl);
|
|
blktmpl_free(work->tmpl);
|
|
|
free(work->tmpl_refcount);
|
|
free(work->tmpl_refcount);
|
|
|
- work->tmpl = NULL;
|
|
|
|
|
- work->tmpl_refcount = NULL;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ work->tmpl = NULL;
|
|
|
|
|
+ work->tmpl_refcount = NULL;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|