subr_gtaskqueue: Fix braino from r330715
Submitted by: markj Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
6301d64774
commit
dec5441a32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330721
@ -135,7 +135,7 @@ _gtaskqueue_create(const char *name, int mflags,
|
||||
|
||||
queue = malloc(sizeof(struct gtaskqueue), M_GTASKQUEUE, mflags | M_ZERO);
|
||||
if (!queue) {
|
||||
free(queue->tq_name, M_GTASKQUEUE);
|
||||
free(tq_name, M_GTASKQUEUE);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user