[util] Move code around
This commit is contained in:
parent
109cb38289
commit
90e312cb85
|
@ -253,9 +253,6 @@ main (int argc, char **argv)
|
|||
}
|
||||
|
||||
if (debug) {
|
||||
free (shape_opts->features);
|
||||
g_free (shape_opts->shapers);
|
||||
|
||||
cairo_pattern_destroy (fore_pattern);
|
||||
cairo_pattern_destroy (back_pattern);
|
||||
cairo_surface_destroy (surface);
|
||||
|
@ -268,5 +265,3 @@ main (int argc, char **argv)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -58,6 +58,10 @@ extern struct shape_options_t
|
|||
shape_options_t (void) {
|
||||
memset (this, 0, sizeof (*this));
|
||||
}
|
||||
~shape_options_t (void) {
|
||||
free (features);
|
||||
g_free (shapers);
|
||||
}
|
||||
|
||||
const char *text;
|
||||
const char *direction;
|
||||
|
|
Loading…
Reference in New Issue