Author: cem
Date: Sat Mar 10 01:53:42 2018
New Revision: 330721
URL: https://svnweb.freebsd.org/changeset/base/330721

Log:
  subr_gtaskqueue: Fix braino from r330715
  
  Submitted by: markj
  Sponsored by: Dell EMC Isilon

Modified:
  head/sys/kern/subr_gtaskqueue.c

Modified: head/sys/kern/subr_gtaskqueue.c
==============================================================================
--- head/sys/kern/subr_gtaskqueue.c     Sat Mar 10 01:50:43 2018        
(r330720)
+++ head/sys/kern/subr_gtaskqueue.c     Sat Mar 10 01:53:42 2018        
(r330721)
@@ -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);
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to