diff options
| author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-07-09 11:53:55 -0300 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-07-09 11:53:55 -0300 | 
| commit | 827dab254c023fffa47b5567fc5fff7cf8bde705 (patch) | |
| tree | aed088fc969eb7d4d46ceac65a089c6f651fc940 /hardinfo2/arch | |
| parent | ce5ef955a380a625e9ce474e8fa5df59476e17e0 (diff) | |
Fix double free
Diffstat (limited to 'hardinfo2/arch')
| -rw-r--r-- | hardinfo2/arch/linux/common/resources.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/hardinfo2/arch/linux/common/resources.h b/hardinfo2/arch/linux/common/resources.h index acfbe377..e266e375 100644 --- a/hardinfo2/arch/linux/common/resources.h +++ b/hardinfo2/arch/linux/common/resources.h @@ -99,5 +99,5 @@ void scan_device_resources(gboolean reload)  gchar *callback_device_resources(void)  { -    return _resources; +    return g_strdup(_resources);  } | 
