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