Print this page
patch tsoome-feedback

@@ -22,12 +22,10 @@
 /*
  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <strings.h>
 #include <string.h>

@@ -253,11 +251,10 @@
 ERR_ARG:
         if (eqp != NULL)
                 *eqp = '=';
         dprint(DDEBUG, "%s: bad attribute argv[%d]: \"%s\"\n", fn, i, argv[i]);
 ERR:
-        if (attrlistp != NULL)
                 nvlist_free(attrlistp);
         return (NULL);
 }