--- libaitio/src/Attic/vars.c 2011/12/13 10:40:05 1.3.2.1 +++ libaitio/src/Attic/vars.c 2012/03/27 20:53:37 1.4.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: vars.c,v 1.3.2.1 2011/12/13 10:40:05 misho Exp $ +* $Id: vars.c,v 1.4.4.1 2012/03/27 20:53:37 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -515,11 +515,11 @@ io_allocVar(void) * return: none */ inline void -io_freeVar(ait_val_t ** __restrict val) +io_freeVar(ait_val_t * __restrict val) { - if (val && *val) { - AIT_FREE_VAL(*val); - free(*val); - *val = NULL; + if (val) { + AIT_FREE_VAL(val); + free(val); + val = NULL; } }