--- sourceforge.net/trunk/rdesktop/rdpdr.c 2004/02/05 15:41:56 597 +++ sourceforge.net/trunk/rdesktop/rdpdr.c 2004/02/06 10:32:13 598 @@ -220,7 +220,8 @@ rdp_out_unistr(s, printerinfo->printer, printerlen - 2); out_uint8a(s, printerinfo->blob, bloblen); - xfree(printerinfo->blob); /* Blob is sent twice if reconnecting */ + if (printerinfo->blob) + xfree(printerinfo->blob); /* Blob is sent twice if reconnecting */ break; default: out_uint32(s, 0);