summaryrefslogtreecommitdiff
path: root/imp.ha
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst@digdash.com>2024-09-17 12:06:56 +0200
committerJulian Hurst <julian.hurst@digdash.com>2024-09-17 12:06:56 +0200
commit3a65eb418f6eafe5690e9fc52340be8e2bab8cb4 (patch)
treec80dc2e2245c726c843fefe417ae177771d0c675 /imp.ha
parent2e3417882ea380df0ff97619570fff0f0910346e (diff)
downloadimp-3a65eb418f6eafe5690e9fc52340be8e2bab8cb4.tar.gz
Don't pass pointer to string to free
Diffstat (limited to 'imp.ha')
-rw-r--r--imp.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/imp.ha b/imp.ha
index d75850d..632b2ac 100644
--- a/imp.ha
+++ b/imp.ha
@@ -289,7 +289,7 @@ fn setfieldaccount(acc: *account, key: str, val: str) void = {
} else if (key == "match") {
acc.url = val;
} else {
- free(&val);
+ free(val);
};
};