]> Dogcows Code - chaz/tar/blobdiff - src/misc.c
tar: if (p) free (p); -> free (p);
[chaz/tar] / src / misc.c
index adc9298689caaef63a4777787e41b8049f44e544..b75f2ab4e419e4f9a928e75b25342630f2ad17ec 100644 (file)
@@ -37,8 +37,7 @@
 void
 assign_string (char **string, const char *value)
 {
-  if (*string)
-    free (*string);
+  free (*string);
   *string = value ? xstrdup (value) : 0;
 }
 
This page took 0.026845 seconds and 4 git commands to generate.