diff options
| author | Tomas Bzatek <[email protected]> | 2020-07-24 12:48:48 +0200 | 
|---|---|---|
| committer | Luke from DC <[email protected]> | 2020-07-29 20:47:20 +0000 | 
| commit | 57e28f8e776d3255cdf9fd00098b2d498d960483 (patch) | |
| tree | 29fa2a853edddaf8a81468aa4697406307e3ae79 /applets/clock | |
| parent | ba30657782a775e04e6d902cd8557da9eeab8716 (diff) | |
| download | mate-panel-57e28f8e776d3255cdf9fd00098b2d498d960483.tar.bz2 mate-panel-57e28f8e776d3255cdf9fd00098b2d498d960483.tar.xz  | |
clock: Properly free rsvg handles
Diffstat (limited to 'applets/clock')
| -rw-r--r-- | applets/clock/clock-utils.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/applets/clock/clock-utils.c b/applets/clock/clock-utils.c index 9f739099..4f11a7f5 100644 --- a/applets/clock/clock-utils.c +++ b/applets/clock/clock-utils.c @@ -166,8 +166,10 @@ clock_utils_pixbuf_from_svg_resource_at_size (const char *resource,  	cairo_surface_destroy (surface);  out: -	if (handle) +	if (handle) {  		rsvg_handle_close (handle, NULL); +		rsvg_handle_free (handle); +	}  	if (stream)  		g_object_unref (stream);  | 
