Print this page
patch tsoome-feedback
*** 22,33 ****
/*
* Copyright 2001-2002 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 <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
--- 22,31 ----
*** 223,233 ****
* Talk to the kernel.
*/
return (dispatch(&nvlp, NULL, NULL));
failed:
- if (nvlp != NULL)
nvlist_free(nvlp);
errno = rc;
return (-1);
}
#undef __FN__
--- 221,230 ----
*** 334,344 ****
* Talk to the kernel.
*/
return (dispatch(&nvlp, fn, arg));
failed:
- if (nvlp != NULL)
nvlist_free(nvlp);
errno = rc;
return (-1);
}
#undef __FN__
--- 331,340 ----
*** 387,397 ****
* Talk to the kernel.
*/
return (dispatch(&nvlp, string_callback, (void *)modnamep));
failed:
- if (nvlp != NULL)
nvlist_free(nvlp);
errno = rc;
return (-1);
}
#undef __FN__
--- 383,392 ----
*** 444,454 ****
*neltp = ad.nelt;
}
return (rc);
failed:
- if (nvlp != NULL)
nvlist_free(nvlp);
errno = rc;
return (-1);
}
#undef __FN__
--- 439,448 ----
*** 508,518 ****
*neltp = ad.nelt;
}
return (rc);
failed:
- if (nvlp != NULL)
nvlist_free(nvlp);
errno = rc;
return (-1);
}
#undef __FN__
--- 502,511 ----