Skip to content

Commit

Permalink
Add missing fclose()
Browse files Browse the repository at this point in the history
  • Loading branch information
jybaek authored and antirez committed Oct 31, 2016
1 parent f61d6f0 commit f4f7d2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/redis-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,7 @@ void cliLoadPreferences(void) {
if (argc > 0) cliSetPreferences(argv,argc,0);
sdsfreesplitres(argv,argc);
}
fclose(fp);
}
sdsfree(rcfile);
}
Expand Down

0 comments on commit f4f7d2c

Please sign in to comment.