[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35179: [PATCH] Plug memory leak in GTK x-display-monitor-attributes-
From: |
Eli Zaretskii |
Subject: |
bug#35179: [PATCH] Plug memory leak in GTK x-display-monitor-attributes-list |
Date: |
Sun, 07 Apr 2019 21:21:20 +0300 |
> From: Alex <agrambot@gmail.com>
> Cc: 35179@debbugs.gnu.org
> Date: Sun, 07 Apr 2019 11:44:54 -0600
>
> Whoops, I forgot to add a closing parenthesis...
Thanks. This variant is fine with me, but since we use xfree to free
the name, I think we should use xstrdup, not g_strdup, to copy it, as
the latter is documented to need g_free to free the storage.