Commit 67747dbe authored by Dom Lachowicz's avatar Dom Lachowicz Committed by Dom Lachowicz

Initialize node->super, to avoid a crash (#339637)

2006-04-25 Dom Lachowicz <cinamod@hotmail.com>

	* rsvg-image.c: Initialize node->super, to avoid a crash (#339637)
parent aa3f32b4
2006-04-25 Dom Lachowicz <cinamod@hotmail.com>
* rsvg-image.c: Initialize node->super, to avoid a crash (#339637)
2006-04-24 Dom Lachowicz <cinamod@hotmail.com>
* librsvg.def: Export rsvg_error_get_type() (#339641)
......
......@@ -581,6 +581,7 @@ rsvg_new_image (void)
{
RsvgNodeImage *image;
image = g_new (RsvgNodeImage, 1);
_rsvg_node_init(&image->super);
image->img = NULL;
image->preserve_aspect_ratio = RSVG_ASPECT_RATIO_XMID_YMID;
image->x = image->y = image->w = image->h = _rsvg_css_parse_length("0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment