summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dddf554)
Nothing serious, just wasting memory.
*/
int create_argv(const char *buf, const char *delim, char ***result)
{
*/
int create_argv(const char *buf, const char *delim, char ***result)
{
- char *word, **argv = para_malloc(2 * sizeof(char *));
+ char *word, **argv = para_malloc(sizeof(char *));
const char *p;
int ret, num_words;
const char *p;
int ret, num_words;