filter fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 25 Jul 2005 20:33:18 +0000 (20:33 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 25 Jul 2005 20:33:18 +0000 (20:33 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@971 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c

index 5ded4686fff86ea56aedec51c7b3d73439f823fa..063b7cf2b62a590b75faf71d1b118ba8161938dd 100644 (file)
@@ -4122,7 +4122,8 @@ Tab* create_tab(MainWindow * mw, Tab *copy_tab,
     /* Copy the previous tab's filter */
     /* We can clone the filter, as we copy the trace set also */
     /* The filter must always be in sync with the trace set */
-    tab->filter = lttv_filter_clone(copy_tab->filter);
+               if(copy_tab->filter != NULL)
+           tab->filter = lttv_filter_clone(copy_tab->filter);
 
   } else {
     tab->traceset_info->traceset = lttv_traceset_new();
This page took 0.027266 seconds and 4 git commands to generate.