diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-28 09:19:05 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-28 09:31:28 +0100 |
commit | 575e3ad31dd8ccf2afdd5c8a8d2dbf8d57241c5d (patch) | |
tree | 45b154e54eb7caa0300e5176237cb84257da138e /libglitter_create_render_context.c | |
parent | libglitter.7: add application usage section (diff) | |
download | libglitter-575e3ad31dd8ccf2afdd5c8a8d2dbf8d57241c5d.tar.gz libglitter-575e3ad31dd8ccf2afdd5c8a8d2dbf8d57241c5d.tar.bz2 libglitter-575e3ad31dd8ccf2afdd5c8a8d2dbf8d57241c5d.tar.xz |
Fix warnings, add restrict, and add function attributes1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libglitter_create_render_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libglitter_create_render_context.c b/libglitter_create_render_context.c index 9dd7871..63ece5a 100644 --- a/libglitter_create_render_context.c +++ b/libglitter_create_render_context.c @@ -43,7 +43,8 @@ libglitter_create_render_context(size_t noutputs, size_t rowsize, size_t widthmu return this; fail: - libglitter_free_render_context(this); + free(this->cellweights_double); + free(this); return NULL; } |