ossp-pkg/rc/rc_script.c 1.30 -> 1.31
--- rc_script.c 2003/06/13 18:33:07 1.30
+++ rc_script.c 2003/06/18 14:35:29 1.31
@@ -354,7 +354,7 @@
************************************************/
rc_return_t scriptDelete(rc_script_t *pScript)
{
- assert(pScript); /* Check for a valid incoming script */
+ assert(pScript); /* Check for a valid incoming script */
if (*pScript) {
free(*pScript);
@@ -363,7 +363,7 @@
else
RC_THROW(RC_WRN_NUL);
- free(pScript);
+ free(pScript); /* Free the script itself */
pScript = NULL;
return(RC_THROW(RC_OK));
|
|