Commit c56e756a authored by Lars Knoll's avatar Lars Knoll Committed by Qt by Nokia
Browse files

Reset pointer to 0 after freeing


set m_textureResource to 0 after freeing it, to
ensure we allocate a new one two lines below before
using it again 5 lines below.

Change-Id: Ib9c4de94aefed91f15d0fab0cd3c774a64f2f891
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
Reviewed-by: default avatarSamuel Rødal <samuel.rodal@nokia.com>
parent 715e9caf
No related merge requests found
Showing with 6 additions and 2 deletions
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