diff options
Diffstat (limited to 'ponymap.c')
-rw-r--r-- | ponymap.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |