diff options
author | Maryam Ebrahimzadeh <61263086+me22bee@users.noreply.github.com> | 2021-08-24 11:46:07 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 11:46:07 +0430 |
commit | e8eeb8dde5bc4c9d4e7ae1ab43d9fd1780ceb792 (patch) | |
tree | 36db362012206c933942db3d1e9b8eb024a897d5 /src | |
parent | e95059590fadaabd9aadc0c0489804d75a3c5d52 (diff) | |
download | libgd-e8eeb8dde5bc4c9d4e7ae1ab43d9fd1780ceb792.tar.gz |
trigger the github actions
Diffstat (limited to 'src')
-rw-r--r-- | src/gd_gd2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gd_gd2.c b/src/gd_gd2.c index 84ec533..097c93d 100644 --- a/src/gd_gd2.c +++ b/src/gd_gd2.c @@ -1135,11 +1135,13 @@ BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size) void *rv; gdIOCtx *out = gdNewDynamicCtx (2048, NULL); if (out == NULL) return NULL; + if (_gdImageGd2(im, out, cs, fmt)) { rv = NULL; } else { rv = gdDPExtractData(out, size); } + out->gd_free (out); return rv; } |