parent
da924b636d
commit
75dd6d9340
|
@ -1,3 +1,8 @@
|
||||||
|
2005-05-17 Bernhard Walle
|
||||||
|
|
||||||
|
* Fixed memory leak (#971).
|
||||||
|
* Released 0.3.2.
|
||||||
|
|
||||||
2005-02-04 Bernhard Walle
|
2005-02-04 Bernhard Walle
|
||||||
* BUGFIX: Close the open socket. Obsoletes version 0.3.0. Don't use
|
* 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
|
0.3.0 any more, it prevents the panel from opening new files after
|
||||||
|
|
|
@ -9,7 +9,7 @@ AC_INIT([panel-plugin/netload.c])
|
||||||
|
|
||||||
AM_CONFIG_HEADER([config.h])
|
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
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
|
|
|
@ -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"
|
#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 */
|
/* check if the /proc/net/dev exists */
|
||||||
if (access(PATH_NET_DEV, R_OK) != 0)
|
if (access(PATH_NET_DEV, R_OK) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue