Index: openacs-4/packages/acs-content-repository/sql/oracle/content-item.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-item.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/acs-content-repository/sql/oracle/content-item.sql	2 Sep 2001 15:15:57 -0000	1.5
+++ openacs-4/packages/acs-content-repository/sql/oracle/content-item.sql	4 Sep 2001 04:50:05 -0000	1.6
@@ -1013,6 +1013,9 @@
 
 exception
   when NO_DATA_FOUND then 
+    if item_cur%ISOPEN then 
+       close item_cur;
+    end if;
     return null;
 end get_template;
 
@@ -1385,6 +1388,9 @@
 
 exception
   when NO_DATA_FOUND then 
+    if c_revision_cur%ISOPEN then
+       close c_revision_cur;
+    end if;
     return null;
 end get_latest_revision;
 
