diff options
author | Keith Packard <keithp@keithp.com> | 2014-03-11 22:04:36 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-03-11 22:04:36 -0700 |
commit | 81a4952d3dcab9ca3a1ee399c773f5ac352036c4 (patch) | |
tree | 6bfb271b3c1ed55c2fc40ad48d1e8a3d343fdd53 /config/config.c | |
parent | 96a28e9c914d7ae9b269f73a27b99cbd3c465ac8 (diff) | |
parent | 795066477ee81b5b82e490eac8bed6b656d01f17 (diff) | |
download | xserver-81a4952d3dcab9ca3a1ee399c773f5ac352036c4.tar.gz |
Merge remote-tracking branch 'whot/for-keith'
Diffstat (limited to 'config/config.c')
-rw-r--r-- | config/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/config.c b/config/config.c index 530f21d35..46f2532ec 100644 --- a/config/config.c +++ b/config/config.c @@ -257,7 +257,8 @@ config_odev_free_attributes(struct OdevAttributes *attribs) case ODEV_ATTRIB_FD: fd = iter->attrib_value; break; } xorg_list_del(&iter->member); - free(iter->attrib_name); + if (iter->attrib_type == ODEV_ATTRIB_STRING) + free(iter->attrib_name); free(iter); } |