diff options
author | NanXiao <xn212516@163.com> | 2014-07-14 14:33:16 +0800 |
---|---|---|
committer | Matt Stancliff <matt@genges.com> | 2015-01-05 16:39:30 -0500 |
commit | d1e820d8ee01583e1db13ff27ec32dc94e18641d (patch) | |
tree | eecb574655bed6a701a0a22f139603e7f690dabc /net.c | |
parent | b6a860795c0c97c59c79155640531b8c47c34ea3 (diff) |
Add error check in redisContextInit
Check whether the obuf or reader is empty: if one of the items is empty,
free the redisContext.
Diffstat (limited to 'net.c')
0 files changed, 0 insertions, 0 deletions