diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-02-12 15:14:07 +0100 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-02-22 13:11:01 +0100 |
commit | 372821c883a3d36ed3ed683844ad9d90818f6392 (patch) | |
tree | 6783b9830f7eb9294a5bd316c9786e5d6981abaf /lib/str.c | |
parent | d39778e43d1674cb3ab3685157fd299816d535c0 (diff) | |
download | gnutls-372821c883a3d36ed3ed683844ad9d90818f6392.tar.gz |
Remove redundant resets of variables after free()
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'lib/str.c')
-rw-r--r-- | lib/str.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ void _gnutls_buffer_clear(gnutls_buffer_st * str) return; gnutls_free(str->allocd); - str->data = str->allocd = NULL; + str->data = NULL; str->max_length = 0; str->length = 0; } |