[Xfce4-commits] [apps/xfce4-taskmanager] 02/08: uninitialized variable in solaris backend

noreply at xfce.org noreply at xfce.org
Thu Dec 4 21:02:47 CET 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository apps/xfce4-taskmanager.

commit 96ee31879bd3d73e64a0b93b1cf1d9116af5a146
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Dec 4 20:35:06 2014 +0100

    uninitialized variable in solaris backend
---
 src/task-manager-solaris.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/task-manager-solaris.c b/src/task-manager-solaris.c
index a7df0b4..f2d54af 100644
--- a/src/task-manager-solaris.c
+++ b/src/task-manager-solaris.c
@@ -52,6 +52,7 @@ get_memory_usage (guint64 *memory_total, guint64 *memory_free, guint64 *memory_c
 	knp = kstat_data_lookup (ksp, "freemem");
 	*memory_free = getpagesize () * knp->value.ui64;
 	*memory_cache = 0;
+	*memory_buffers = 0;
 
 	*swap_total = *swap_free = 0;
 	if ((n = swapctl (SC_GETNSWP, NULL)) > 0)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list