Skip to content

Commit

Permalink
Free redhi_obj in DESTROY
Browse files Browse the repository at this point in the history
  • Loading branch information
danielspang committed Jun 10, 2016
1 parent 5efdc8c commit f511da0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Redis-hiredis.xs
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,4 @@ redis_hiredis_DESTROY(self)
CODE:
if ( self->context != NULL )
redisFree(self->context);
free(self);

0 comments on commit f511da0

Please sign in to comment.