diff --git a/src/kits/media/ParameterWeb.cpp b/src/kits/media/ParameterWeb.cpp index db4a7caa27..6c1375d6da 100644 --- a/src/kits/media/ParameterWeb.cpp +++ b/src/kits/media/ParameterWeb.cpp @@ -1191,7 +1191,7 @@ BParameterGroup::Unflatten(type_code code, const void *buffer, ssize_t size) if (groupSize > size_left(size, bufferStart, buffer)) return B_BAD_VALUE; - BParameterGroup *group = new BParameterGroup(this, "sub-unnamed"); + BParameterGroup *group = new BParameterGroup(mWeb, "sub-unnamed"); if (group == NULL) { FATAL("BParameterGroup::Unflatten(): MakeGroup() failed\n"); return B_ERROR;