X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Fenum.c;h=6243345140d1b5b196278daf80f3a3d447857d87;hb=6b71274a81b38da08261f2122597c540b02b7aee;hp=e0bb545b72963b18fcb7f9c860c6309f00bfac25;hpb=47e0f2e23aef98a584bf964754ab1e29c2897cfb;p=babeltrace.git diff --git a/formats/ctf/types/enum.c b/formats/ctf/types/enum.c index e0bb545b..62433451 100644 --- a/formats/ctf/types/enum.c +++ b/formats/ctf/types/enum.c @@ -3,7 +3,7 @@ * * Enumeration mapping strings (quarks) from/to integers. * - * Copyright 2010 - Mathieu Desnoyers + * Copyright 2010, 2011 - Mathieu Desnoyers * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -20,6 +20,9 @@ #include #include +/* + * The caller should unref the GArray. + */ GArray *ctf_enum_read(struct stream_pos *pos, const struct type_class_enum *src) {