X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmain%2Fattribute.c;h=fcdc832973a68f0c6295ef7e2a9eb8f38bdbf0e3;hb=2a2fa4f0852b2a2701733c370059bad8aa000b03;hp=4b6938d7da86c1e04ec077e1353e2d662e2b3c32;hpb=88a3e3d0ba9a2e56e5d3524bd9da05fe3a81f8e6;p=lttv.git diff --git a/ltt/branches/poly/lttv/main/attribute.c b/ltt/branches/poly/lttv/main/attribute.c index 4b6938d7..fcdc8329 100644 --- a/ltt/branches/poly/lttv/main/attribute.c +++ b/ltt/branches/poly/lttv/main/attribute.c @@ -1,3 +1,20 @@ +/* This file is part of the Linux Trace Toolkit viewer + * Copyright (C) 2003-2004 Michel Dagenais + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License Version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + */ #include #include @@ -335,7 +352,7 @@ static void attribute_finalize (LttvAttribute *self) { g_hash_table_destroy(self->names); - g_critical("attribute_finalize()"); + g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "attribute_finalize()"); g_array_free(self->attributes, TRUE); G_OBJECT_CLASS(g_type_class_peek_parent( g_type_class_peek(LTTV_ATTRIBUTE_TYPE)))->finalize(G_OBJECT(self));