copy xml files into traces in daemon mode
[lttv.git] / ltt / branches / poly / ltt / facility.c
index 53519c02a683046b00b0b10b2c95aa16931a3aff..0da437c329f50377c6ed856e8e0de4822928272e 100644 (file)
@@ -86,6 +86,7 @@ int ltt_facility_open(LttFacility *f, LttTrace * t, gchar * pathname)
   in.lineno = 0;
   in.error = error_callback;
   in.name = pathname;
+  in.unget = 0;
 
   //in.fd = g_open(in.name, O_RDONLY, 0);
   //if(in.fd < 0 ) {
@@ -125,6 +126,7 @@ int ltt_facility_open(LttFacility *f, LttTrace * t, gchar * pathname)
       generateFacility(f, fac, checksum);
 
       g_free(fac->name);
+      free(fac->capname);
       g_free(fac->description);
       freeEvents(&fac->events);
       sequence_dispose(&fac->events);
This page took 0.022634 seconds and 4 git commands to generate.