forked from enlightenment/enlightenment
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
This commit is contained in:
parent
0bd4ef0855
commit
6c950e981a
|
@ -866,7 +866,7 @@ _get_bind_text(const char* action)
|
||||||
}
|
}
|
||||||
return strdup(b);
|
return strdup(b);
|
||||||
}
|
}
|
||||||
return "(You must define a binding)";
|
return strdup("(You must define a binding)");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Callbacks */
|
/* Callbacks */
|
||||||
|
|
Loading…
Reference in New Issue