diff options
author | Neil Roberts <neil@linux.intel.com> | 2013-06-12 14:42:41 +0100 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2013-06-13 13:22:45 +0100 |
commit | ee834bf10a05cf000d4bc4dd2438ca6cedd8a2b5 (patch) | |
tree | c57f42beaa147d4e9ceb2a4aba2636ab08efcbab /cogl-path | |
parent | c6893fa3c9eda0f13b79d3a1fc03f8b79c42a8f6 (diff) | |
download | cogl-ee834bf10a05cf000d4bc4dd2438ca6cedd8a2b5.tar.gz |
cogl-path: Fix the uninitialised path->fill_primitive
This was not being uninitialised so it was sometimes causing a crash
when it tried to unref an invalid pointer. This was causing test-path
to fail for me.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl-path')
-rw-r--r-- | cogl-path/cogl-path.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cogl-path/cogl-path.c b/cogl-path/cogl-path.c index 9a1d1df1..be8bb041 100644 --- a/cogl-path/cogl-path.c +++ b/cogl-path/cogl-path.c @@ -890,6 +890,7 @@ cogl_path_new (CoglContext *context) data->last_path = 0; data->fill_attribute_buffer = NULL; data->stroke_attribute_buffer = NULL; + data->fill_primitive = NULL; data->is_rectangle = FALSE; return _cogl_path_object_new (path); |