diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-10-06 21:17:56 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-10-06 21:17:56 +0200 |
commit | 79ddc4888a3003ddbe45f1552dac3fea5e0741d4 (patch) | |
tree | f482ac496d9cf27c5c874bce37207514c4d8079e /src/conversation | |
parent | 954500e2e8aab9f87a497fd12bad018bd9703628 (diff) | |
download | gnunet-79ddc4888a3003ddbe45f1552dac3fea5e0741d4.tar.gz gnunet-79ddc4888a3003ddbe45f1552dac3fea5e0741d4.zip |
fix leak
Diffstat (limited to 'src/conversation')
-rw-r--r-- | src/conversation/gnunet-conversation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conversation/gnunet-conversation.c b/src/conversation/gnunet-conversation.c index 8f9ddec25..00ab65680 100644 --- a/src/conversation/gnunet-conversation.c +++ b/src/conversation/gnunet-conversation.c | |||
@@ -1091,7 +1091,7 @@ handle_command_string (char *message, | |||
1091 | strlen (commands[i].command)))) | 1091 | strlen (commands[i].command)))) |
1092 | i++; | 1092 | i++; |
1093 | ptr = &message[strlen (commands[i].command)]; | 1093 | ptr = &message[strlen (commands[i].command)]; |
1094 | while (isspace ((int) *ptr)) | 1094 | while (isspace ((unsigned char) *ptr)) |
1095 | ptr++; | 1095 | ptr++; |
1096 | if ('\0' == *ptr) | 1096 | if ('\0' == *ptr) |
1097 | ptr = NULL; | 1097 | ptr = NULL; |