diff --git a/ChangeLog b/ChangeLog index ad01ea3..8c52522 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-17 Bernhard Walle + + * Fixed memory leak (#971). + * Released 0.3.2. + 2005-02-04 Bernhard Walle * BUGFIX: Close the open socket. Obsoletes version 0.3.0. Don't use 0.3.0 any more, it prevents the panel from opening new files after diff --git a/configure.ac b/configure.ac index 6632087..44a6318 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,7 @@ AC_INIT([panel-plugin/netload.c]) AM_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.3.1]) +AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.3.2]) AM_MAINTAINER_MODE diff --git a/panel-plugin/wormulon/linux.c b/panel-plugin/wormulon/linux.c index 8ff2140..ccbcc32 100644 --- a/panel-plugin/wormulon/linux.c +++ b/panel-plugin/wormulon/linux.c @@ -1,4 +1,4 @@ -/* $Id: linux.c,v 1.4 2003/09/06 12:37:20 bwalle Exp $ */ +/* $Id: linux.c,v 1.5 2005/05/17 18:42:52 bwalle Exp $ */ #include "linux.h" @@ -50,6 +50,9 @@ int checkinterface(netdata* data) } } + /* free the nameindex structure */ + if_freenameindex(ifs); + /* check if the /proc/net/dev exists */ if (access(PATH_NET_DEV, R_OK) != 0) {