Branch: Tag:

2010-05-31

2010-05-31 14:46:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported fix for leak of memory_usage callbacks from Pike 7.6.

Rev: src/backend.cmod:1.47
Rev: src/builtin_functions.c:1.485
Rev: src/builtin_functions.h:1.25
Rev: src/main.c:1.165

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin_functions.c,v 1.484 2009/08/26 12:25:56 mast Exp $ + || $Id: builtin_functions.c,v 1.485 2010/05/31 14:46:15 grubba Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.484 2009/08/26 12:25:56 mast Exp $"); + RCSID("$Id: builtin_functions.c,v 1.485 2010/05/31 14:46:15 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
8566:   #endif   #endif   } +  + void exit_builtin_efuns(void) + { +  free_callback_list(&memory_usage_callback); + } +