[gnome-system-monitor] Initialize all ProcInfo members.
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Initialize all ProcInfo members.
- Date: Sat, 3 Jan 2015 14:00:20 +0000 (UTC)
commit 65c8b3309f239ba4404212d988d380856bf226c9
Author: BenoƮt Dejean <bdejean gmail com>
Date: Wed Apr 23 12:35:33 2014 +0200
Initialize all ProcInfo members.
https://bugzilla.gnome.org/show_bug.cgi?id=742070
src/proctable.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/proctable.cpp b/src/proctable.cpp
index ffb3f32..0874fb3 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -934,11 +934,14 @@ update_info (GsmApplication *app, ProcInfo *info)
}
ProcInfo::ProcInfo(pid_t pid)
- : tooltip(NULL),
+ : node(),
+ pixbuf(),
+ tooltip(NULL),
name(NULL),
arguments(NULL),
security_context(NULL),
pid(pid),
+ ppid(-1),
uid(-1)
{
ProcInfo * const info = this;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]