Index: gdb/testsuite/gdb.base/randomize.c |
diff --git a/gdb/testsuite/gdb.base/randomize.c b/gdb/testsuite/gdb.base/randomize.c |
index a49fd01ed5a4a6f2be169d545ef660d50f92960b..4c91626260fb38db52a6aa7047369ad26047c86f 100644 |
--- a/gdb/testsuite/gdb.base/randomize.c |
+++ b/gdb/testsuite/gdb.base/randomize.c |
@@ -1,6 +1,6 @@ |
/* This testcase is part of GDB, the GNU debugger. |
- Copyright 2008-2012 Free Software Foundation, Inc. |
+ Copyright 2008-2013 Free Software Foundation, Inc. |
This program is free software; you can redistribute it and/or modify |
it under the terms of the GNU General Public License as published by |
@@ -24,5 +24,6 @@ int main() |
p = malloc (1); |
- return 0; /* print p */ |
+ free (p); /* print p */ |
+ return 0; |
} |