]> granicus.if.org Git - procps-ng/commit
pmap: Plug memory leak in range_arguments().
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Fri, 18 May 2018 21:32:22 +0000 (07:32 +1000)
commitdb2f01189563e0bf5dc17c3ca7dc7aa36ab4b148
tree0fba3ebfe9f4153e033220406d661480daad3f81
parent14758ebc8f9d59369cbb15ea2a4ccbe56a658b23
pmap: Plug memory leak in range_arguments().

Also, simplify the code slightly (but functionally equivalent). Check
the return value of xstrdup() only once (yes, it can return NULL).
pmap.c