[xutil] Fix strdup() usage

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-29 14:15:03 +02:00
parent eacd9b1e69
commit 2a4971b725
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ xutil_intern_atom(xcb_connection_t *c, xutil_atom_cache_t **atoms,
xutil_atom_cache_t *atom_next; xutil_atom_cache_t *atom_next;
int cmp_cache; int cmp_cache;
atom_req.name = strdup(name); atom_req.name = a_strdup(name);
/* Check if this atom is present in the cache ordered /* Check if this atom is present in the cache ordered
* linked-list */ * linked-list */