diff options
| author | Mikhail Romanko <me@blankhex.com> | 2025-06-22 20:34:14 +0300 |
|---|---|---|
| committer | Mikhail Romanko <me@blankhex.com> | 2025-06-22 20:34:14 +0300 |
| commit | 9212dbc7c2fbc00bb6f31f7d0ad6e9e47cbf9e19 (patch) | |
| tree | 3cd2c038e3d49b03ed3342fd7eaeacf5c229f189 | |
| parent | 7bfbcd0de587b298dd1421e80edf549fbb00dd16 (diff) | |
| download | bhlib-9212dbc7c2fbc00bb6f31f7d0ad6e9e47cbf9e19.tar.gz | |
Fix memory leak in BH_Bytes
| -rw-r--r-- | src/Bytes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Bytes.c b/src/Bytes.c index efa973a..562a38f 100644 --- a/src/Bytes.c +++ b/src/Bytes.c @@ -33,8 +33,7 @@ static int bytesInit(BH_Bytes *bytes, static int bytesDestroy(BH_Bytes *bytes) { - BH_UNUSED(bytes); - + free(bytes); return BH_OK; } |
