~azzar1/update-notifier/livepatch-indicator

« back to all changes in this revision

Viewing changes to src/livepatch-utils.c

  • Committer: Andrea Azzarone
  • Date: 2019-03-15 15:40:43 UTC
  • Revision ID: azzaronea@gmail.com-20190315154043-l19z07izr21z9a50
Init keys to NULL in parse_osrelease.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
static GKeyFile *
40
40
parse_osrelease()
41
41
{
42
 
    g_autoptr(GKeyFile) keys;
 
42
    g_autoptr(GKeyFile) keys = NULL;
43
43
    g_autofree gchar *content = NULL;
44
44
    g_autofree gchar *content_with_group = NULL;
45
45
    const gchar *group = "[os-release]\n";