[PATCH, BINUTILS, AARCH64, 7/9] Add BTI instruction
[deliverable/binutils-gdb.git] / libiberty / spaces.c
index 67481c9bcd8ff026491b68699a97c5a9871b2bae..1f1f480dd5f33c649525b759d85fb9103881dd88 100644 (file)
@@ -1,5 +1,5 @@
 /* Allocate memory region filled with spaces.
-   Copyright (C) 1991 Free Software Foundation, Inc.
+   Copyright (C) 1991-2018 Free Software Foundation, Inc.
 
 This file is part of the libiberty library.
 Libiberty is free software; you can redistribute it and/or
@@ -53,10 +53,7 @@ spaces (int count)
 
   if (count > maxsize)
     {
-      if (buf)
-       {
-         free (buf);
-       }
+      free (buf);
       buf = (char *) malloc (count + 1);
       if (buf == (char *) 0)
        return 0;
This page took 0.023152 seconds and 4 git commands to generate.