X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Fenum.c;h=6243345140d1b5b196278daf80f3a3d447857d87;hp=e0bb545b72963b18fcb7f9c860c6309f00bfac25;hb=c054553dac076f91196b372fa19efaf2adc4e4f9;hpb=8a4035bcbfe691490b031f08533676597f72a4ac 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) {