am af675222
: Merge "Fix potential segfault in RS watchdog." into ics-mr0
* commit 'af675222f6340a8a9edbe9e8635014a18521e5e0': Fix potential segfault in RS watchdog.
This commit is contained in:
@ -359,6 +359,7 @@ Context::Context() {
|
|||||||
mTargetSdkVersion = 14;
|
mTargetSdkVersion = 14;
|
||||||
mDPI = 96;
|
mDPI = 96;
|
||||||
mIsContextLite = false;
|
mIsContextLite = false;
|
||||||
|
memset(&watchdog, 0, sizeof(watchdog));
|
||||||
}
|
}
|
||||||
|
|
||||||
Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc) {
|
Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc) {
|
||||||
|
Reference in New Issue
Block a user