ehum ...
dummy ability blizzard the aoe there so you can see it, nullify all values
dummy ability curse
a dummy
you need a unitgroup variable, a point variable
event
unit starts effect of an ability
condition
ability being cast equal to Curse AOE
Actions
set targetpoint = target point of ability being cast
set unitgroup = units in range of "your aoe" with matching conditon not a structre, not magic immune etc
pick every unit in unitgroup and to multiple actions
loop
create dummy at targetpoint
add cursedummy ability to last created unit
set level of curse dummy to lvl of Curse AOE
order last created unit to cast unit target undead banshee curse on picked unit
Add 1 sec timer to last created unti
new actions
custom script call destroygroup(udg_unitgroup)
custom script call RemoveLocation(udg_targetpoint)
and there you got totally leakfree and MUI