diff options
author | Hisham <hisham@gobolinux.org> | 2016-02-02 15:56:52 +0100 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-02-02 15:56:52 +0100 |
commit | 1cfcc42a8f8982197d1cca2711c0633df5591d96 (patch) | |
tree | 9fb97e83913a939dc62884a2af1171437fc6eb78 /Process.c | |
parent | 301c346c85a761861e282f164dd9a7ff34cd6193 (diff) |
Reuse comm object if possible, avoid useless repetitions of free+strdup.
Diffstat (limited to 'Process.c')
-rw-r--r-- | Process.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -88,6 +88,7 @@ typedef struct Process_ { pid_t ppid; pid_t tgid; char* comm; + int commLen; int indent; int basenameOffset; |