Skip to content
Commit 90415aae authored by Damien Lespiau's avatar Damien Lespiau Committed by Neil Roberts
Browse files

texture-rectangle: Initialize is_foreign



So we don't read an initializes value later on. Caught by valgrind:

Conditional jump or move depends on uninitialised value(s)
  _cogl_object_texture_rectangle_indirect_free (cogl-texture-rectangle.c:105)
  _cogl_object_context_indirect_free (cogl-context.c:453)
  ...
  main (text.c:149)

Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Reviewed-by: default avatarNeil Roberts <neil@linux.intel.com>
parent 37f52057
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment