aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-01-18 22:11:04 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-01-18 22:11:04 +0000
commit6c950e981a2dbd81a4621db0daef8e2984f696c5 (patch)
tree44874eb4137432c8060840da612d0e19c26c2c38
parent0bd4ef0855743eb8185e637570b9c0cbd5df6bfd (diff)
downloadenlightenment-6c950e981a2dbd81a4621db0daef8e2984f696c5.tar.gz
enlightenment-6c950e981a2dbd81a4621db0daef8e2984f696c5.tar.xz
enlightenment-6c950e981a2dbd81a4621db0daef8e2984f696c5.zip
e/gadman: Always return allocated buffer
The result from _get_bind_text will be free'd, so we must always allocate it. SVN revision: 67299
-rw-r--r--src/modules/gadman/e_mod_gadman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c
index 3c5c05abf..7d5f29a5c 100644
--- a/src/modules/gadman/e_mod_gadman.c
+++ b/src/modules/gadman/e_mod_gadman.c
@@ -866,7 +866,7 @@ _get_bind_text(const char* action)
}
return strdup(b);
}
- return "(You must define a binding)";
+ return strdup("(You must define a binding)");
}
/* Callbacks */