less/less.js — pull request #2025 by Gvozd (2014-05-22 08:35:10+00:00)
Title: Not need create instance of Error for inheritance

Sorry for my bad English

Not need create instance of Error for inheritance
It's potential memory leak in stack property

Error.stack getter/setter remember all context's from every function in stack
But after first read/write this property convert to static string without getter/setter

demo for look this memory leak:
```html
Error leak

More memory for GC force

```
Steps to demonstrate memory leak:
1. Take Heap `Snapshot 1` in Chrome Devtools
2. Click at `Error leak`
3. Take Heap `Snapshot 2` in Chrome Devtools
4. Click ar `More memory for GC force`
5. Take Heap `Snapshot 3` in Chrome Devtools
6. Look at `Snapshot 3` `Objects allocated between Snapshot 1 and Snapshot 2`
You may find instance of SomeObject, which remember in Error.stack