CID 867: Memory leak.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38050 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1210,6 +1210,10 @@ IconView::_AddOrEditIcon()
|
|||||||
// can be preserved. Maybe in a second (optional) attribute
|
// can be preserved. Maybe in a second (optional) attribute
|
||||||
// where ever a vector icon attribute is present?
|
// where ever a vector icon attribute is present?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (icon != fIconData) {
|
||||||
|
delete icon;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
be_roster->Launch("application/x-vnd.haiku-icon_o_matic", &message);
|
be_roster->Launch("application/x-vnd.haiku-icon_o_matic", &message);
|
||||||
|
|||||||
Reference in New Issue
Block a user