Commit ba2635c6 authored by Ell's avatar Ell

transform: don't leak sampler object when using a NEAREST sampler

parent 46e6588d
......@@ -1408,6 +1408,7 @@ transform_generic (GeglOperation *operation,
w_start += inverse.coeff [2][1];
} while (--y);
}
g_object_unref (sampler);
}
......@@ -1544,6 +1545,8 @@ transform_nearest (GeglOperation *operation,
w_start += inverse.coeff [2][1];
} while (--y);
}
g_object_unref (sampler);
}
static inline gboolean is_zero (const gdouble f)
......
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