Freeing state.items GList in pango_layout_check_lines()?



In pango_layout_check_lines() in pango/pango-layout.c, it seems to me
that the GList created by pango_itemize_with_base_dir():

      state.items = pango_itemize_with_base_dir (layout->context,
						 base_dir,
						 layout->text,
						 start - layout->text,
						 end - start,
						 attrs,
						 iter);

is not freed or otherwise unreferenced when 'state' goes out of scope.

Is that correct?

Regards,


Tony Graham
Sun Microsystems Ireland                           Phone: +353 1 8199708
East Point Business Park, Dublin 3                   Internal: (70)19708




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]