cssimage: Fix huge memleak

When transitioning gradients, we were leaking the gradient structs. Not
good.

https://bugzilla.gnome.org/show_bug.cgi?id=687467
This commit is contained in:
Benjamin Otte 2012-11-06 17:50:14 +01:00
parent 9876fc4f17
commit e9dc0e391d

View File

@ -79,7 +79,7 @@ fade_pattern (cairo_pattern_t *pattern,
cairo_pattern_add_color_stop_rgba (result, o, r, g, b, a * opacity);
}
return pattern;
return result;
}
static cairo_pattern_t *