GEORADIUS reply: fix of the previous fix about #6417.

This commit is contained in:
antirez 2019-10-01 19:18:08 +02:00
parent b5f075f8ae
commit c8b49a27ae

View File

@ -566,7 +566,7 @@ void georadiusGeneric(client *c, int flags) {
/* If no matching results, the user gets an empty reply. */
if (ga->used == 0 && storekey == NULL) {
addReplyNullArray(c);
addReply(c,shared.emptyarray);
geoArrayFree(ga);
return;
}