Don't allocate space for a mode name unless the nameLength is greater
authorChris Michael <devilhorns@comcast.net>
Fri, 24 May 2013 17:25:03 +0000 (18:25 +0100)
committerChris Michael <devilhorns@comcast.net>
Fri, 24 May 2013 17:25:53 +0000 (18:25 +0100)
commit1d58f5ff1dbe27de782755b8eafaef44227824d7
tree274ffb5f448ef64bc8a3393003908ae4afc13b4d
parent16cbbb202fcd47437bac699e5a8fcd209ed3d0e6
Don't allocate space for a mode name unless the nameLength is greater
than 0.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
src/lib/ecore_x/xlib/ecore_x_randr.c