diff options
Diffstat (limited to 'src/common/plugin-identd.c')
-rw-r--r-- | src/common/plugin-identd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/plugin-identd.c b/src/common/plugin-identd.c index 659fc4e6..08aa33a8 100644 --- a/src/common/plugin-identd.c +++ b/src/common/plugin-identd.c @@ -108,7 +108,10 @@ identd_read_ready (GDataInputStream *in_stream, GAsyncResult *res, ident_info *i local = g_ascii_strtoull (read_buf, NULL, 0); p = strchr (read_buf, ','); if (!p) + { + g_free (read_buf); goto cleanup; + } remote = g_ascii_strtoull (p + 1, NULL, 0); g_free (read_buf); |