mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-14 17:43:01 -04:00
fix memory leak
This commit is contained in:
parent
b87ac1225a
commit
b5d8163a89
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ textbox *textbox_create(widget *parent, WidgetType type, const char *name,
|
|||
if (password_mask_char == NULL || (*password_mask_char) == '\0'){
|
||||
tb->password_mask_char = "*";
|
||||
} else {
|
||||
tb->password_mask_char = g_strdup(password_mask_char);
|
||||
tb->password_mask_char = password_mask_char;
|
||||
}
|
||||
|
||||
textbox_text(tb, txt ? txt : "");
|
||||
|
|
Loading…
Add table
Reference in a new issue