]> git.itanic.dy.fi Git - scan-pagemap/commit
read_pageframe: Do not add empty entries in process list
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 15 Aug 2010 16:39:10 +0000 (19:39 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 15 Aug 2010 16:42:46 +0000 (19:42 +0300)
commit2f693b11674a3d4f3a84beb56e6073a101f56233
treef0610bf53b69d48bfbdfdba021bf37b0e248f167
parentdb2de963ac71a23e90635240b94eff8ceba7593b
read_pageframe: Do not add empty entries in process list

If reading of some of the process details fails, the process is most
likely died while we were processing its details. Thus, there is no
good to add the entry to the process list either. The entry is now
freed instead of adding the half-read entry to the list.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
parse.c