libsass
libsass copied to clipboard
Delete allocated memory before throwing an exception
I added two deletes for the import entry and the source file entry before an exception is thrown.
If the client code captures and tries to recover from the exception, the previous version without delete may cause memory leak.