This is an automated email from the git hooks/post-receive script. l a n d r y p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/xfce4-taskmanager.
commit b4266a20f869d0b57d9309e95b5c5c62f1a9912b Author: rim <[email protected]> Date: Sun Dec 9 13:00:41 2018 +0300 Make valngrind happy: correct calculate mem size to move --- src/task-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task-manager.c b/src/task-manager.c index 8188de6..025125d 100644 --- a/src/task-manager.c +++ b/src/task-manager.c @@ -172,7 +172,7 @@ pretty_cmdline (gchar *cmdline, gchar *comm) gchar *p = g_strstr_len (text, (gssize)text_size, comm); if (p != NULL) { - memmove (text, p, text_size); + memmove (text, p, (text_size - (p - text))); } } } -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
