Skip to content

Commit

Permalink
fix mem leak
Browse files Browse the repository at this point in the history
  • Loading branch information
ronen-kalish committed May 15, 2024
1 parent f13621e commit 99d8f40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2359,6 +2359,8 @@ robj *rdbLoadObject(int rdbtype, rio *rdb, sds key, redisDb* db, int *error,
return NULL;
}
}
sdsfree(field);
sdsfree(value);
}
}

Expand Down

0 comments on commit 99d8f40

Please sign in to comment.