diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-08-21 16:50:50 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-08-21 16:50:50 +0000 |
commit | 7e2b0abcb0da22d9a6e85ef49a5122f7ea0f255a (patch) | |
tree | afebd008c5089eecff46d739b7e3087ca476621e /lib/gnutls_compress_int.c | |
parent | 7fe66c23a03d5d4ecf983f22cbffa2c540a75162 (diff) | |
download | gnutls-7e2b0abcb0da22d9a6e85ef49a5122f7ea0f255a.tar.gz |
minor cleanups.
Diffstat (limited to 'lib/gnutls_compress_int.c')
-rw-r--r-- | lib/gnutls_compress_int.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnutls_compress_int.c b/lib/gnutls_compress_int.c index 216b7f328a..894d1fd2ad 100644 --- a/lib/gnutls_compress_int.c +++ b/lib/gnutls_compress_int.c @@ -68,9 +68,7 @@ int err; ret->handle = gnutls_malloc( sizeof( z_stream)); if (ret->handle==NULL) { gnutls_assert(); - cleanup_ret: - gnutls_free(ret); - return NULL; + goto cleanup_ret; } zhandle = ret->handle; @@ -102,7 +100,9 @@ int err; if (ret->handle==NULL) { gnutls_assert(); - goto cleanup_ret; + cleanup_ret: + gnutls_free(ret); + return NULL; } } |