[chronojump/video-capture: 2/7] Make sure to close the reader
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/video-capture: 2/7] Make sure to close the reader
- Date: Thu, 16 Dec 2010 00:30:18 +0000 (UTC)
commit d72d1dbf0a64f40607051e695933e629c97974f4
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Dec 15 23:46:28 2010 +0100
Make sure to close the reader
src/sqlite/session.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/sqlite/session.cs b/src/sqlite/session.cs
index b076a81..9e9b83a 100644
--- a/src/sqlite/session.cs
+++ b/src/sqlite/session.cs
@@ -146,6 +146,7 @@ class SqliteSession : Sqlite
Convert.ToInt32(values[4]), Convert.ToInt32(values[5]), Convert.ToInt32(values[6]),
values[7], Convert.ToInt32(values[8]) );
+ reader.Close();
dbcon.Close();
return mySession;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]