aboutsummaryrefslogtreecommitdiff
path: root/README.adoc
diff options
context:
space:
mode:
authorLawrence Kesteloot <lk@teamten.com>2018-09-14 21:51:54 -0700
committerGarrett D'Amore <garrett@damore.org>2018-09-15 13:30:05 -0700
commit7afc254cd4dd72f125968f1331a48031f65b02fa (patch)
treeb83f7ef5d65b5f6f15c02de0f8f8b12b6fb1123d /README.adoc
parent0863d12e2b5173efeb074cbc9fa05f26274f126b (diff)
downloadnng-7afc254cd4dd72f125968f1331a48031f65b02fa.tar.gz
nng-7afc254cd4dd72f125968f1331a48031f65b02fa.tar.bz2
nng-7afc254cd4dd72f125968f1331a48031f65b02fa.zip
Only free in nng_send() if we succeed.
Both the man page and the comment (in nng.h) of nng_send() say that the buffer is freed only if the function succeeds. The previous code always freed (if the flag was set). This change only frees if we succeed.
Diffstat (limited to 'README.adoc')
0 files changed, 0 insertions, 0 deletions