refine memory tag in order to trace issues related memory
Fix build warnings with gcc in EncodeDecodeTest

Avoid a comparison between signed and unsigned integers, and avoid
a warning about a variable which is set but not used.
Remove an unused macro
Remove unnecesary use of _SafeDelete

It is not necessary to check whether a pointer is NULL before
deleting it, "delete NULL" is explicitly ok.

The deleted pointer is a local variable here, so setting it to
NULL after deleting isn't necessary in these cases either.
Use delete instead of the _SafeDelete macro

Since this is the destructor of the class, the member variables
won't be read afterwards, and setting the pointers to NULL afterwards
is redundant.
Simplify code by calling WelsFree directly instead of using a helper function

This makes the code simpler and clearer. It's not necessary to use the
_SafeFree helper macro in neither of the case - in one case the
pointer is overwritten immediately, in the other case it's witihin
the destructor where the pointer won't ever be read again.
Remove some now unused macros
Use the correct version of delete within a unit test

This fixes valgrind warnings when running this test. The mismatched
delete could also potentially have caused memory corruption issues
while running the tests.
Make sure uiIDRPicId is initialized within EncodeDecodeTest

This fixes valgrind warnings about comparison with uninitialized
values.
Merge pull request #1357 from mstorsjo/silence-warnings

Fix build warnings with gcc in EncodeDecodeTest
Merge pull request #1358 from mstorsjo/remove-unused-macro

Remove an unused macro
Merge pull request #1360 from mstorsjo/use-correct-delete

Use the correct version of delete within a unit test
Merge pull request #1361 from mstorsjo/avoid-comparing-uninitialized

Make sure uiIDRPicId is initialized within EncodeDecodeTest
Merge pull request #1356 from ruil2/memory

refine memory tag in order to trace issues related memory
Merge pull request #1359 from mstorsjo/cleanup-simplification

Simplify code by getting rid of unnecesary SafeDelete/SafeFree macros
Merge remote-tracking branch 'upstream/master' into travis.osx