Diff for /libelwix/src/mem.c between versions 1.2 and 1.4

version 1.2, 2013/05/30 09:07:33 version 1.4, 2014/01/29 16:42:57
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013Copyright 2004 - 2014
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 407  mpool_free(mpool_t * __restrict mp, void * __restrict  Line 407  mpool_free(mpool_t * __restrict mp, void * __restrict 
         int idx;          int idx;
         struct tagAlloc *m, *tmp;          struct tagAlloc *m, *tmp;
   
        assert(data);        if (!data)
                 return 0;
         if (!mp) {          if (!mp) {
                 elwix_SetErr(EINVAL, "Pool not specified");                  elwix_SetErr(EINVAL, "Pool not specified");
                 return -1;                  return -1;

Removed from v.1.2  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>