ext/Blob.c in rubyfb-0.6.2 vs ext/Blob.c in rubyfb-0.6.3

- old
+ new

@@ -98,16 +98,15 @@ BlobHandle *blob = NULL; Data_Get_Struct(self, BlobHandle, blob); if(blob->size > 0) { char *buffer = loadBlobData(blob); - if(buffer != NULL) { data = rfbstr(connection, blob->charset, buffer, blob->size); + free(buffer); + rb_iv_set(self, "@data", data); } - free(buffer); } - rb_iv_set(self, "@data", data); } return(data); }