summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-07-30 11:35:17 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-07-30 11:35:17 +0200
commitca3c1e2636476d56285f4aa70f98ae57d2aa0da5 (patch)
treec42b9646af22eab0e375a7cdfa252627e8504a67 /src/core
parent5059743dd284d0a5f2e0d9257a97984b5a3363f5 (diff)
downloadweechat-ca3c1e2636476d56285f4aa70f98ae57d2aa0da5.zip
core: fix memory leak in command /cursor
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index cbfff0c78..a0d89d572 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -1157,6 +1157,7 @@ COMMAND_CALLBACK(cursor)
gui_cursor_move_xy (x, y);
}
}
+ free (str_x);
}
}
else