Skip to content

Commit

Permalink
ndb_redis: Accidentally tried to free a reply from shmem, which is st…
Browse files Browse the repository at this point in the history
…ill in pkgmem
  • Loading branch information
carstenbock committed Apr 4, 2017
1 parent 8fafc50 commit fca170f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ndb_redis/redis_client.c
Expand Up @@ -181,7 +181,7 @@ int redisc_destroy(void)
freeReplyObject(rpl->rplRedis);

if(rpl->rname.s != NULL)
shm_free(rpl->rname.s);
pkg_free(rpl->rname.s);

pkg_free(rpl);
rpl = next_rpl;
Expand Down

0 comments on commit fca170f

Please sign in to comment.