Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Should be useless since we new0()ed the memory, but anyway. Better paranoid and safe...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 4 Jun 2007 08:42:01 +0000 (08:42 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 4 Jun 2007 08:42:01 +0000 (08:42 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3548 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_log_appender_file.c

index 4ffd7eb..0ccca35 100644 (file)
@@ -28,6 +28,7 @@ xbt_log_appender_t xbt_log_appender_file_new(xbt_log_layout_t lout){
   xbt_log_appender_t res = xbt_new0(s_xbt_log_appender_t,1);
   res->layout = lout;
   res->do_append = append_file;
+  res->free_ = NULL;
   res->data = (void*)stderr;
   return res;
 }