commit 043d1ff5fa54eee99426d4bfe3c33e8da1e232a0
parent a69d935c8f568def0da1785e17fe797093ff8d95
Author: Paul <paul@claws-mail.org>
Date: Wed, 20 Dec 2023 13:33:20 +0100
add a missed g_free()
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
@@ -1240,7 +1240,8 @@ int main(int argc, char *argv[])
if (copy_file(userrc, userrc, TRUE) < 0) {
g_warning("can't copy message %s to %s.bak",
userrc, userrc);
- return -1;
+ g_free(userrc);
+ return -1;
}
gtk_accel_map_load (userrc);