summaryrefslogtreecommitdiff
path: root/src/xlibi18n/XDefaultOMIF.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-18Convert malloc(strlen()); strcpy() sets to strdupAlan Coopersmith1-17/+8
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-18Replace Xmalloc+bzero pairs with Xcalloc callsAlan Coopersmith1-11/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-02-01XDefaultOMIF.c: Fix memory leaks in get_font_nameAlan Coopersmith1-8/+2
Instead of copying the value returned by get_prop_name and then releasing it, directly use the return value of get_prop_name, which allocates memory for the name. If get_prop_name returns NULL, continue on to XFreeFont to release the font before returning the NULL via the normal function return. Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-03Sun's copyrights are now owned by OracleAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-01-14Purge CVS/RCS id tagsAlan Coopersmith1-1/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith1-15/+33
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2008-06-17Strip whitespace from end of lines in source filesAlan Coopersmith1-17/+17
2005-05-13- For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in ↵XORG-6_8_99_7Søren Sandmann Pedersen1-0/+3
<X11/...> - For Xcomposite and Xdamage, don't link the build system out of the xc tree - Link the public X11 headers into their own directory - Add links to XKeysymDB and XErrorDB - Add links to all the Xlib man pages - Add links to the lcUniConv subdirectory - Conditionally include config.h in Xlib source
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich1-185/+75
2003-11-14R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley1-0/+1372