aboutsummaryrefslogtreecommitdiff
path: root/ponymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ponymap.c')
-rw-r--r--ponymap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ponymap.c b/ponymap.c
index 913d16e..f8c0ac4 100644
--- a/ponymap.c
+++ b/ponymap.c
@@ -470,8 +470,7 @@ indicator_set_status (struct indicator *self, char *status)
bool refresh = self->shown;
indicator_hide (self);
- free (self->status);
- self->status = status;
+ cstr_set (&self->status, status);
if (refresh)
indicator_show (self);