diff options
Diffstat (limited to 'mysys/my_getopt.c')
-rw-r--r-- | mysys/my_getopt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c index cbbf876ac06..06e7b626bd7 100644 --- a/mysys/my_getopt.c +++ b/mysys/my_getopt.c @@ -525,8 +525,7 @@ static int setval(const struct my_option *opts, gptr *value, char *argument, break; case GET_STR_ALLOC: if ((*((char**) result_pos))) - my_free((*(char**) result_pos), - MYF(MY_WME | MY_FAE)); + my_free((*(char**) result_pos), MYF(MY_WME | MY_FAE)); if (!(*((char**) result_pos)= my_strdup(argument, MYF(MY_WME)))) return EXIT_OUT_OF_MEMORY; break; |