• Wen Hui's avatar
    fix leak in error handling of debug populate command (#7062) · c69a9b2f
    Wen Hui authored
    valsize was not modified during the for loop below instead of getting from c->argv[4], therefore there is no need to put inside the for loop.. Moreover, putting the check outside loop will also avoid memory leaking, decrRefCount(key) should be called in the original code if we put the check in for loop
    c69a9b2f
debug.c 67.1 KB