diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-03-01 22:01:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-03-01 22:01:51 +0000 |
commit | b924594ef150ba5ee2bd40068bdbb3fdbbd401fa (patch) | |
tree | f283062d836c84dc005770f21cebe5c741e92c0c /gdk/gdkpolyreg-generic.c | |
parent | a6774264ee6203ba68fa273c0c6c63e75beaf5cf (diff) | |
download | gtk+-b924594ef150ba5ee2bd40068bdbb3fdbbd401fa.tar.gz |
Fix some reported (but not significant) UMR's from purify. (#73160, Morten
Fri Mar 1 17:00:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpolyreg-generic.c: Fix some reported (but not significant)
UMR's from purify. (#73160, Morten Welinder)
Diffstat (limited to 'gdk/gdkpolyreg-generic.c')
-rw-r--r-- | gdk/gdkpolyreg-generic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkpolyreg-generic.c b/gdk/gdkpolyreg-generic.c index b98bd5641e..838701d8cd 100644 --- a/gdk/gdkpolyreg-generic.c +++ b/gdk/gdkpolyreg-generic.c @@ -538,6 +538,7 @@ gdk_region_polygon(GdkPoint *Pts, gint Count, GdkFillRule rule) */ if (iPts == NUMPTSTOBUFFER) { tmpPtBlock = (POINTBLOCK *)g_malloc(sizeof(POINTBLOCK)); + tmpPtBlock->next = NULL; curPtBlock->next = tmpPtBlock; curPtBlock = tmpPtBlock; pts = curPtBlock->pts; @@ -584,6 +585,7 @@ gdk_region_polygon(GdkPoint *Pts, gint Count, GdkFillRule rule) */ if (iPts == NUMPTSTOBUFFER) { tmpPtBlock = (POINTBLOCK *)g_malloc(sizeof(POINTBLOCK)); + tmpPtBlock->next = NULL; curPtBlock->next = tmpPtBlock; curPtBlock = tmpPtBlock; pts = curPtBlock->pts; |