X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_llist.c;h=4c5645b1cba12461c7811cc12c9b6e52a6e2c1da;hb=daa5c7a886b4406d5b8bfdbecd6f998f9ca07fea;hp=c88396098904793191b6bb6f848f1c17d2278fa3;hpb=35e6b9d366016300178a55b163ac0173d7be5874;p=collectd.git diff --git a/src/utils_llist.c b/src/utils_llist.c index c8839609..4c5645b1 100644 --- a/src/utils_llist.c +++ b/src/utils_llist.c @@ -12,10 +12,9 @@ * ranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public Licence for more details. * - * You should have received a copy of the GNU General Public - * Licence along with this program; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, - * USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * * Authors: * Florian Forster @@ -88,7 +87,6 @@ llentry_t *llentry_create (char *key, void *value) void llentry_destroy (llentry_t *e) { - free (e->key); free (e); }