summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/efreet_desktop_command.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-08-03 19:31:04 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-08-03 19:31:04 +0000
commit7f93656d7bc8e0f0cf09f43b7aa5b21ec719d38a (patch)
tree884ec49b97010fabc1b943d29becbe2ca85863db /legacy/efreet/src/lib/efreet_desktop_command.c
parent8554a0c23b2caeb17bfe8330afa6437f48913d1e (diff)
check return value from malloc
SVN revision: 50780
Diffstat (limited to 'legacy/efreet/src/lib/efreet_desktop_command.c')
-rw-r--r--legacy/efreet/src/lib/efreet_desktop_command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/efreet/src/lib/efreet_desktop_command.c b/legacy/efreet/src/lib/efreet_desktop_command.c
index dac3618..374431c 100644
--- a/legacy/efreet/src/lib/efreet_desktop_command.c
+++ b/legacy/efreet/src/lib/efreet_desktop_command.c
@@ -369,6 +369,7 @@ efreet_desktop_command_build(Efreet_Desktop_Command *command)
369 Efreet_Desktop_Command_File *file = eina_list_data_get(l); 369 Efreet_Desktop_Command_File *file = eina_list_data_get(l);
370 370
371 exec = malloc(size); 371 exec = malloc(size);
372 if (!exec) goto error;
372 p = command->desktop->exec; 373 p = command->desktop->exec;
373 len = 0; 374 len = 0;
374 375