Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
c11 safe string handling support
[vpp.git]
/
src
/
tools
/
g2
/
view1.c
diff --git
a/src/tools/g2/view1.c
b/src/tools/g2/view1.c
index
a4190cb
..
9c86fcd
100644
(file)
--- a/
src/tools/g2/view1.c
+++ b/
src/tools/g2/view1.c
@@
-1636,7
+1636,7
@@
static void init_track_colors(void)
if (s_color != NULL ) {
gdk_colormap_free_colors(gtk_widget_get_colormap(da),
s_color, g_npids);
if (s_color != NULL ) {
gdk_colormap_free_colors(gtk_widget_get_colormap(da),
s_color, g_npids);
- memset(s_color, 0, sizeof(GdkColor) * g_npids);
+
clib_
memset(s_color, 0, sizeof(GdkColor) * g_npids);
} else {
/*
* First time through: allocate the array to hold the GCs.
} else {
/*
* First time through: allocate the array to hold the GCs.