diff options
author | Linus Nordberg <linus@nordu.net> | 2011-03-21 14:32:31 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-03-21 14:32:31 +0100 |
commit | a177887c740c173948fc7dbf96f726616885c407 (patch) | |
tree | d6ff0e9cdd8cc9fd614ec118d04bc1d010df291a /lib/examples/client-blocking.c | |
parent | 6cefe9483fda567d9db2447bda2f09f63d1101af (diff) |
Memory alloc/free cleanup for contexts.
(rs_context_create): Don't touch *ctx on failure. Keep allocation and
zeroing of allocated memory together.
(rs_context_destroy): Fix typo.
(rs_context_destroy): Don't rs_free the context since it's allocated
with calloc.
Diffstat (limited to 'lib/examples/client-blocking.c')
0 files changed, 0 insertions, 0 deletions