xkbcomp: Fail when converting rules to components returns an error
authorDan Nicholson <dbn.lists@gmail.com>
Sat, 4 Apr 2009 16:51:33 +0000 (09:51 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Sat, 4 Apr 2009 16:51:33 +0000 (09:51 -0700)
commitfa96602d0fd78085bfd8f407ff025d42ef10f872
tree0fc997cd0913c7eda968b661c9ec3a55270bf0d7
parente72fc29f337db6d183b90dcb70e394fb08753f0c
xkbcomp: Fail when converting rules to components returns an error

XkbcRF_GetComponents was returning an error but leaving the generated
components alone. This ensures that the broken XkbComponentNamesPtr is
freed and the error is passed up to the caller.
src/xkbcomp/xkbcomp.c