Changeset eded1f7 for lib/ssl_gnutls.c


Ignore:
Timestamp:
2007-12-18T23:59:35Z (17 years ago)
Author:
kenobi <kenobi@…>
Branches:
master
Children:
2379566
Parents:
dc0ba9c
Message:

Merged in 280..288 from upstream (e.g. PING)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ssl_gnutls.c

    rdc0ba9c reded1f7  
    223223        closesocket( conn->fd );
    224224       
    225         gnutls_deinit( conn->session );
    226         gnutls_certificate_free_credentials( conn->xcred );
     225        if( conn->session )
     226                gnutls_deinit( conn->session );
     227        if( conn->xcred )
     228                gnutls_certificate_free_credentials( conn->xcred );
    227229        g_free( conn );
    228230}
Note: See TracChangeset for help on using the changeset viewer.