From: mh Date: Tue, 10 Dec 2002 09:51:22 +0000 (+0000) Subject: forward port of a minor bug fix from HEAD X-Git-Tag: MIR_1_0_0_RC4~11 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=aed63ee28869f423c9b218ee25dbb20fec7c5f20;p=mir.git forward port of a minor bug fix from HEAD --- diff --git a/source/mircoders/entity/EntityImages.java b/source/mircoders/entity/EntityImages.java index 942cd124..75388d0d 100755 --- a/source/mircoders/entity/EntityImages.java +++ b/source/mircoders/entity/EntityImages.java @@ -54,7 +54,7 @@ import mir.storage.*; * Diese Klasse enthält die Daten eines MetaObjekts * * @author RK, mh - * @version $Id: EntityImages.java,v 1.6.4.5 2002/12/05 08:40:18 mh Exp $ + * @version $Id: EntityImages.java,v 1.6.4.6 2002/12/10 09:51:22 mh Exp $ */ @@ -173,7 +173,8 @@ public class EntityImages extends EntityUploadedMedia // get rid of the temp. file f.delete(); } catch (Exception e) {;} - theStorageObject.freeConnection(con,pstmt); + if (con!=null) + theStorageObject.freeConnection(con,pstmt); } } }