diff options
Diffstat (limited to 'lib/gnutls_compress_int.c')
-rw-r--r-- | lib/gnutls_compress_int.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/gnutls_compress_int.c b/lib/gnutls_compress_int.c index 7616e9212a..b0c63ee551 100644 --- a/lib/gnutls_compress_int.c +++ b/lib/gnutls_compress_int.c @@ -114,9 +114,8 @@ int err; break; #endif - default: - gnutls_free(ret); - return NULL; + case GNUTLS_COMP_NULL: + break; } return ret; } |