about summary refs log tree commit diff
path: root/argp
diff options
context:
space:
mode:
Diffstat (limited to 'argp')
-rw-r--r--argp/argp-help.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/argp/argp-help.c b/argp/argp-help.c
index b0f8d69b07..8fe3b2e584 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -858,16 +858,16 @@ hol_append (struct hol *hol, struct hol *more)
 		    }
 		}
 	    }
-	}
 
-	*so = '\0';
+	  *so = '\0';
 
-	free (hol->entries);
-	free (hol->short_options);
+	  free (hol->entries);
+	  free (hol->short_options);
 
-	hol->entries = entries;
-	hol->num_entries = num_entries;
-	hol->short_options = short_options;
+	  hol->entries = entries;
+	  hol->num_entries = num_entries;
+	  hol->short_options = short_options;
+	}
       }
 
   hol_free (more);