1
0
Fork 0
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:
Zebra2711 2025-01-25 15:51:27 +07:00 committed by GitHub
parent b87ac1225a
commit b5d8163a89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 : "");