-/* @(#) $Id$ */
+/* @(#) $Id: ./src/shared/mem_op.c, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
#include "mem_op.h"
+#include "shared.h"
/* Add pointer to array. */
free(ch1);
ch1 = NULL;
}
-
+
/* Cleaning chat ** */
if(ch2)
{
char **nch2 = ch2;
-
+
while(*ch2 != NULL)
{
free(*ch2);
ch2++;
}
-
+
free(nch2);
nch2 = NULL;
}
-
+
return;
}