Skip to content

Commit

Permalink
fix freeing uninitialized values
Browse files Browse the repository at this point in the history
  • Loading branch information
ronen-kalish committed May 15, 2024
1 parent 3444552 commit 600b48c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2254,8 +2254,6 @@ robj *rdbLoadObject(int rdbtype, rio *rdb, sds key, redisDb* db, int rdbflags,
serverLog(LL_WARNING, "failed reading hash TTL");
decrRefCount(o);
if (dupSearchDict != NULL) dictRelease(dupSearchDict);
sdsfree(value);
sdsfree(field);
return NULL;
}

Expand Down

0 comments on commit 600b48c

Please sign in to comment.