Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Sep 26, 2012
1 parent f2567d8 commit efda011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -51,7 +51,6 @@ __R__ for runtime
* bash (R)
* xprop,xwininfo / x11-utils (R)
* libpcre (B,R) (Will probably be made optional soon)
* libconfig (B,R) (Will probably be made optional soon)

To build, make sure you have the above dependencies:

Expand Down
4 changes: 2 additions & 2 deletions src/compton.c
Expand Up @@ -3078,6 +3078,8 @@ parse_config(char *name) {
if (conf == NULL) return;

json_value *root = json_parse(conf);
free(conf);
if (root == NULL) return;

if (root->type != json_object) {
fprintf(stderr, "Root node must be a JSON object.\n");
Expand Down Expand Up @@ -3239,8 +3241,6 @@ parse_config(char *name) {
}
}
}

// json_value_free(root);
}

/**
Expand Down

0 comments on commit efda011

Please sign in to comment.