/[monit]/monit/process/common.c
ViewVC logotype

Diff of /monit/process/common.c

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

revision 1.10 by hauk, Fri Aug 15 01:12:56 2003 UTC revision 1.11 by hauk, Tue Sep 30 16:03:15 2003 UTC
# Line 192  int getdatafromproc(int pid, ProcessTree Line 192  int getdatafromproc(int pid, ProcessTree
192    entry->mem_kbyte=pi->mem_kbyte;    entry->mem_kbyte=pi->mem_kbyte;
193    entry->ppid=pi->ppid;    entry->ppid=pi->ppid;
194    
195    free(pi);    FREE(pi);
196    return TRUE;    return TRUE;
197    
198  }  }
# Line 225  int connectchild(ProcessTree_T * parent, Line 225  int connectchild(ProcessTree_T * parent,
225    
226      memcpy(tmp, parent->children,      memcpy(tmp, parent->children,
227             sizeof(ProcessTree_T *) * (parent->children_num - 1));             sizeof(ProcessTree_T *) * (parent->children_num - 1));
228      free(parent->children);      FREE(parent->children);
229    
230    }    }
231    

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26