Skip to content

Commit 03acc60

Browse files
committed
prevent memory leaks in json_restore_call() and actually do load crypto_params_sdes from JSON
1 parent bb7ce60 commit 03acc60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

daemon/redis.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,7 @@ static int redis_hash_get_sdes_params(GQueue *out, const struct redis_hash *h, c
10911091
return 0;
10921092
return -1;
10931093
}
1094+
g_queue_push_tail(out, cps);
10941095

10951096
snprintf(key, sizeof(key), "%s-%u", k, iter++);
10961097
kk = key;

0 commit comments

Comments
 (0)