Fix ptype/o comment formatting
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / randomize.c
index 6a6566342a7942b601ab854267f9aae2f2c520c0..c58f3b1e1735f13de14d195fb84ef2a1242ad498 100644 (file)
@@ -1,6 +1,6 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2008-2013 Free Software Foundation, Inc.
+   Copyright 2008-2019 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;
 }
This page took 0.025132 seconds and 4 git commands to generate.