gmyth/src/gmyth_scheduler.c
branchtrunk
changeset 404 c057ae06c14b
parent 391 ab427801f058
child 412 60a60397ffdf
     1.1 --- a/gmyth/src/gmyth_scheduler.c	Tue Mar 06 14:17:04 2007 +0000
     1.2 +++ b/gmyth/src/gmyth_scheduler.c	Thu Mar 08 19:32:21 2007 +0000
     1.3 @@ -115,20 +115,11 @@
     1.4          scheduler->msqlquery = NULL;
     1.5      }
     1.6  
     1.7 -    if (scheduler->profile != NULL)
     1.8 -        g_string_free (scheduler->profile, TRUE);
     1.9 -
    1.10 -    if (scheduler->recgroup != NULL)
    1.11 -        g_string_free (scheduler->recgroup, TRUE);
    1.12 -
    1.13 -    if (scheduler->playgroup != NULL)
    1.14 -        g_string_free (scheduler->playgroup, TRUE);
    1.15 -
    1.16 -    if (scheduler->search_type != NULL)
    1.17 -        g_string_free (scheduler->search_type, TRUE);
    1.18 -
    1.19 -    if (scheduler->search_what != NULL)
    1.20 -        g_string_free (scheduler->search_what, TRUE);
    1.21 +    g_string_free (scheduler->profile, TRUE);
    1.22 +    g_string_free (scheduler->recgroup, TRUE);
    1.23 +    g_string_free (scheduler->playgroup, TRUE);
    1.24 +    g_string_free (scheduler->search_type, TRUE);
    1.25 +    g_string_free (scheduler->search_what, TRUE);
    1.26  
    1.27      G_OBJECT_CLASS (gmyth_scheduler_parent_class)->dispose (object);
    1.28  }
    1.29 @@ -202,7 +193,6 @@
    1.30  
    1.31      if (scheduler->msqlquery != NULL) {
    1.32          gmyth_query_disconnect (scheduler->msqlquery);
    1.33 -        g_object_unref (scheduler->msqlquery);
    1.34      }
    1.35  
    1.36      return TRUE;