cvs checkout dumps core when using certain options. (Seen on
version 1.10.7). Reason is calling free() twice on the same
memory range. The patch below fixes the problem:

Regards,
        Egbert.

*** checkout.c.org      Wed Dec 23 16:14:59 1998
--- checkout.c  Sun Mar 12 17:59:10 2000
***************
*** 338,343 ****
--- 338,344 ----
        cat_module (status);
        if (options)
            free (options);
+       options = NULL;
        return (0);
      }
      db = open_module ();
***************
*** 376,381 ****
--- 377,383 ----
      close_module (db);
      if (options)
        free (options);
+     options = NULL;
      return (err);
  }
  

Reply via email to