/* This testcase is part of GDB, the GNU debugger.
- Copyright 2010-2012 Free Software Foundation, Inc.
+ Copyright 2010-2014 Free Software Foundation, Inc.
Contributed by Red Hat, originally written by Jim Blandy.
{
/* charset.exp wants to allocate memory for constants. So make sure malloc
gets linked into the program. */
- malloc (1);
+ void *p = malloc (1);
+ free (p);
}