Fix memory leak, re-indent

This commit is contained in:
Dave Davenport 2016-07-31 23:28:31 +02:00
parent 4ad2c37eea
commit 604b4cb619
6 changed files with 35 additions and 34 deletions

View File

@ -672,6 +672,7 @@ static gboolean helper_eval_cb ( const GMatchInfo *info, GString *str, gpointer
else if ( match[1] == 'r' ) {
helper_eval_add_str ( str, d->c->role, l, d->pd->role_len );
}
g_free ( match );
}
return FALSE;
}

View File

@ -76,7 +76,7 @@ struct xkb_stuff xkb = {
.compose = {
.table = NULL,
.state = NULL
}
}
};
char *config_path = NULL;
// Array of modi.