~darkxst/ubuntu/saucy/gdm/lp1212408

« back to all changes in this revision

Viewing changes to common/gdm-config.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-12-11 15:34:43 UTC
  • mto: (2.1.2 lenny) (1.4.50)
  • mto: This revision was merged to the branch mainline in revision 86.
  • Revision ID: james.westby@ubuntu.com-20071211153443-w5922mvs37kx0g4q
Tags: upstream-2.20.2
ImportĀ upstreamĀ versionĀ 2.20.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
812
812
 out:
813
813
        *valuep = value;
814
814
 
 
815
        g_free (val);
 
816
 
815
817
        return ret;
816
818
}
817
819
 
1010
1012
                  GHashTable *hash)
1011
1013
{
1012
1014
        GError     *local_error;
1013
 
        char      **keys;
 
1015
        gchar      **keys;
1014
1016
        gsize       len;
1015
1017
        int         i;
1016
1018
 
1022
1024
                                    &local_error);
1023
1025
        if (local_error != NULL) {
1024
1026
                g_error_free (local_error);
 
1027
                g_strfreev (keys);
1025
1028
                return;
1026
1029
        }
1027
1030
 
1028
1031
        for (i = 0; i < len; i++) {
1029
 
                g_hash_table_insert (hash, keys[i], GINT_TO_POINTER (1));
 
1032
                g_hash_table_insert (hash, g_strdup (keys[i]), GINT_TO_POINTER (1));
1030
1033
        }
 
1034
 
 
1035
        g_strfreev (keys);
1031
1036
}
1032
1037
 
1033
1038
static void