When using snprintf or fgets, etc, do not use PATH_MAX directly as the size
authorChristopher Michael <cpmichael1@comcast.net>
Wed, 23 Dec 2009 20:55:23 +0000 (20:55 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Wed, 23 Dec 2009 20:55:23 +0000 (20:55 +0000)
commit56ec4c946f3b7cd5229052e85e1b59575c347e75
tree318e952070ef7e7cbb24084104f64a9fc67aa2cd
parent005ee7f26191d14ab7294b63f2f7116b3bdaedec
When using snprintf or fgets, etc, do not use PATH_MAX directly as the size
of the variable...use sizeof() compiler directive (lots of these).

Do not free 'realpath' in efreet_menu if we are going to try and print out
it's value.

If we find 'realpath' in the merged_menus hash, and we are going to return,
then free the realpath variable.

SVN revision: 44699
legacy/efreet/src/bin/efreet_spec_test.c
legacy/efreet/src/lib/efreet_desktop.c
legacy/efreet/src/lib/efreet_icon.c
legacy/efreet/src/lib/efreet_menu.c
legacy/efreet/src/lib/efreet_mime.c
legacy/efreet/src/lib/efreet_trash.c
legacy/efreet/src/lib/efreet_utils.c