Commit 0654b739 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

gradient-map: Free gradient_name when done using it

parent 24ac01bf
......@@ -269,6 +269,8 @@ get_samples_gradient (GimpDrawable *drawable)
gimp_gradient_get_uniform_samples (gradient_name, NSAMPLES, FALSE,
&n_f_samples, &f_samples);
g_free (gradient_name);
bpp = gimp_drawable_bpp (drawable->drawable_id);
color = gimp_drawable_is_rgb (drawable->drawable_id);
has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
......
Supports Markdown
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