# HG changeset patch # User renatofilho # Date 1176819446 -3600 # Node ID f63fe1bc2d82dea107489c4d26fbb3b676c7ed59 # Parent fc93462c296df202976fb76a86f2feabf55a8b4e [svn r563] fixed debian scripts diff -r fc93462c296d -r f63fe1bc2d82 gmyth/debian/changelog --- a/gmyth/debian/changelog Tue Apr 17 15:13:48 2007 +0100 +++ b/gmyth/debian/changelog Tue Apr 17 15:17:26 2007 +0100 @@ -1,3 +1,9 @@ +gmyth (0.3) unstable; urgency=low + + * Update file_reader an serveral bug fixes; + + -- Renato Araujo Thu, 12 Apr 2007 14:46:08 -0300 + gmyth (0.2) unstable; urgency=low * Included several http_requests in order to replace mysql queries (MythProtocol >= 33) diff -r fc93462c296d -r f63fe1bc2d82 gmyth/src/gmyth.h --- a/gmyth/src/gmyth.h Tue Apr 17 15:13:48 2007 +0100 +++ b/gmyth/src/gmyth.h Tue Apr 17 15:17:26 2007 +0100 @@ -33,6 +33,8 @@ #include #include #include +#include +#include #include #include #include diff -r fc93462c296d -r f63fe1bc2d82 gmyth/src/gmyth_query.c --- a/gmyth/src/gmyth_query.c Tue Apr 17 15:13:48 2007 +0100 +++ b/gmyth/src/gmyth_query.c Tue Apr 17 15:17:26 2007 +0100 @@ -138,8 +138,10 @@ g_return_val_if_fail (backend_info->password != NULL, FALSE); g_return_val_if_fail (backend_info->db_name != NULL, FALSE); - g_object_ref (backend_info); - gmyth_query->backend_info = backend_info; + if (gmyth_query->backend_info != NULL) { + g_object_unref (gmyth_query->backend_info); + } + gmyth_query->backend_info = g_object_ref (backend_info); if (gmyth_query->conn == NULL) { gmyth_query->conn = mysql_init (NULL); diff -r fc93462c296d -r f63fe1bc2d82 gmyth/src/gmyth_scheduler.c --- a/gmyth/src/gmyth_scheduler.c Tue Apr 17 15:13:48 2007 +0100 +++ b/gmyth/src/gmyth_scheduler.c Tue Apr 17 15:17:26 2007 +0100 @@ -164,8 +164,10 @@ assert(scheduler); g_return_val_if_fail (backend_info != NULL, FALSE); - g_object_ref (backend_info); - scheduler->backend_info = backend_info; + if (scheduler->backend_info) + g_object_unref (scheduler->backend_info); + + scheduler->backend_info = g_object_ref (backend_info); if (scheduler->msqlquery == NULL) { g_warning ("[%s] GMythScheduler db initializing", __FUNCTION__);