Skip to content

Commit feca23f

Browse files
authored
Merge pull request #13 from EricccTaiwan/clear
Avoid double free
2 parents 06e424f + 42e9a01 commit feca23f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

simrupt.c

-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ static int __init simrupt_init(void)
384384
/* Create the workqueue */
385385
simrupt_workqueue = alloc_workqueue("simruptd", WQ_UNBOUND, WQ_MAX_ACTIVE);
386386
if (!simrupt_workqueue) {
387-
vfree(fast_buf.buf);
388387
ret = -ENOMEM;
389388
goto error_workqueue;
390389
}

0 commit comments

Comments
 (0)