types: steal types when merging if possible
authorRan Benita <ran234@gmail.com>
Sun, 9 Feb 2014 14:49:45 +0000 (16:49 +0200)
committerRan Benita <ran234@gmail.com>
Sun, 9 Feb 2014 14:49:45 +0000 (16:49 +0200)
commit35cab168f725476285e8714d751ffe6b001ac5b5
treec4f21641fae8af2a2dbc32ca0387665727af8c63
parent3923aa71c23f572096aeb3fee36f62b6cafb95e7
types: steal types when merging if possible

Like we do everywhere else. Removes some unnecessary allocations and
copying.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/types.c