/[imapfilter]/imapfilter/memory.c
ViewVC logotype

Diff of /imapfilter/memory.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by lefcha, Fri Feb 13 12:17:16 2004 UTC revision 1.20 by lefcha, Fri Feb 13 13:18:37 2004 UTC
# Line 70  xrealloc(void *ptr, size_t size) Line 70  xrealloc(void *ptr, size_t size)
70  void  void
71  xfree(void *ptr)  xfree(void *ptr)
72  {  {
73    
74          if (ptr == NULL)          if (ptr == NULL)
75                  fatal(ERROR_MEMALLOC,                  fatal(ERROR_MEMALLOC,
76                      "NULL pointer given as argument");                      "NULL pointer given as argument");
# Line 223  secmem_find(void *ptr) Line 224  secmem_find(void *ptr)
224  void  void
225  secmem_remove(secmem_t * sm)  secmem_remove(secmem_t * sm)
226  {  {
227    
228          if (sm->prev != NULL)          if (sm->prev != NULL)
229                  sm->prev->next = sm->next;                  sm->prev->next = sm->next;
230          if (sm->next != NULL)          if (sm->next != NULL)

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26