diff options
| author | ame <[email protected]> | 2025-08-12 22:02:18 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2025-08-12 22:02:18 -0500 |
| commit | 70dcbc67382084d924d353f9c741cd8c0e46cb0f (patch) | |
| tree | 9863be20947286fdcc3d96e03f2126561966934f /src/net/util.c | |
| parent | 432f7792d12dadc3adb605c018176bbc7359b503 (diff) | |
mem leak oops
Diffstat (limited to 'src/net/util.c')
| -rw-r--r-- | src/net/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/util.c b/src/net/util.c index 92e538b..78e3043 100644 --- a/src/net/util.c +++ b/src/net/util.c @@ -534,6 +534,7 @@ int percent_decode(str* input, str** _output){ //casting a long to a char pointer is a horrible idea long c = strtol(hex->c, NULL, 16); if(c == 0){ + str_free(hex); *_output = output; return 1; } |
