~alan-griffiths/mir/fix-1654023

« back to all changes in this revision

Viewing changes to src/platforms/android/client/gralloc_registrar.cpp

  • Committer: Daniel van Vugt
  • Date: 2015-04-28 07:54:10 UTC
  • mfrom: (2517 development-branch)
  • mto: This revision was merged to the branch mainline in revision 2673.
  • Revision ID: daniel.van.vugt@canonical.com-20150428075410-rwskshfuar7voesp
Merge latest trunk and fix conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
 
123
123
    if (gralloc_module->registerBuffer(gralloc_module.get(), handle))
124
124
    {
125
 
        ::operator delete(const_cast<native_handle_t*>(handle));
 
125
        ::operator delete(handle);
126
126
        BOOST_THROW_EXCEPTION(std::runtime_error("error registering graphics buffer for client use\n"));
127
127
    }
128
128