ImageMagick 7.0.8-43 has a memory leak in Huffman2DEncodeImage in coders/ps3.c, as demonstrated by WritePS3Image.
### Prerequisites

- [x] I have written a descriptive issue title
- [x] I have verified that I am using the latest version of ImageMagick
- [x] I have searched [open](https://github.com/ImageMagick/ImageMagick/issues) and [closed](https://github.com/ImageMagick/ImageMagick/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported

### Description
<!-- A description of the bug or feature -->
==69057==ERROR: LeakSanitizer: detected memory leaks
```
Direct leak of 13024 byte(s) in 1 object(s) allocated from:
    #0 0x7f7cb84cd602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
    #1 0x43f2a5 in AcquireMagickMemory MagickCore/memory.c:478
    #2 0x412eef in AcquireCriticalMemory MagickCore/memory-private.h:64
    #3 0x4153a4 in AcquireImageInfo MagickCore/image.c:350
    #4 0x41831c in CloneImageInfo MagickCore/image.c:945
    #5 0x655347 in Huffman2DEncodeImage coders/ps3.c:223
    #6 0x65aa9e in WritePS3Image coders/ps3.c:1343
    #7 0x809a80 in WriteImage MagickCore/constitute.c:1159
    #8 0x80a7a5 in WriteImages MagickCore/constitute.c:1376
    #9 0xb1654b in CompositeImageCommand MagickWand/composite.c:1676
    #10 0xc9fbca in MagickCommandGenesis MagickWand/mogrify.c:185
    #11 0x40e9e1 in MagickMain utilities/magick.c:149
    #12 0x40ebc2 in main utilities/magick.c:180
    #13 0x7f7cb47bd82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

SUMMARY: AddressSanitizer: 13024 byte(s) leaked in 1 allocation(s).
```
### Steps to Reproduce
<!-- List of steps, sample code, failing test or link to a project that reproduces the behavior.
     Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues -->
run cmd;
```
 /usr/local/bin/magick composite input1 input2 output.ps3
```
### System Configuration
<!-- Tell us about the environment where you are experiencing the bug -->

- ImageMagick version: 
7.0.8-43
- Environment (Operating system, version and so on): 
Linux ubuntu 4.15.0-47-generic #50~16.04.1-Ubuntu SMP Fri Mar 15 16:06:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
- Additional information:
./configure CC="gcc" CXX="g++" CFLAGS="-g -fsanitize=address" -disable-shared

teatcase:
https://github.com/butterflyhack/pocs/blob/master/memory-leaks-2.zip

credit by ADlab of Venustech

<!-- Thanks for reporting the issue to ImageMagick! -->

memory leaks in WritePS3Image
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : memory leaks in WritePS3Image
Issue date:

--- start body ---
### Prerequisites

- [x] I have written a descriptive issue title
- [x] I have verified that I am using the latest version of ImageMagick
- [x] I have searched [open](https://github.com/ImageMagick/ImageMagick/issues) and [closed](https://github.com/ImageMagick/ImageMagick/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported

### Description
<!-- A description of the bug or feature -->
==69057==ERROR: LeakSanitizer: detected memory leaks
```
Direct leak of 13024 byte(s) in 1 object(s) allocated from:
    #0 0x7f7cb84cd602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
    #1 0x43f2a5 in AcquireMagickMemory MagickCore/memory.c:478
    #2 0x412eef in AcquireCriticalMemory MagickCore/memory-private.h:64
    #3 0x4153a4 in AcquireImageInfo MagickCore/image.c:350
    #4 0x41831c in CloneImageInfo MagickCore/image.c:945
    #5 0x655347 in Huffman2DEncodeImage coders/ps3.c:223
    #6 0x65aa9e in WritePS3Image coders/ps3.c:1343
    #7 0x809a80 in WriteImage MagickCore/constitute.c:1159
    #8 0x80a7a5 in WriteImages MagickCore/constitute.c:1376
    #9 0xb1654b in CompositeImageCommand MagickWand/composite.c:1676
    #10 0xc9fbca in MagickCommandGenesis MagickWand/mogrify.c:185
    #11 0x40e9e1 in MagickMain utilities/magick.c:149
    #12 0x40ebc2 in main utilities/magick.c:180
    #13 0x7f7cb47bd82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

SUMMARY: AddressSanitizer: 13024 byte(s) leaked in 1 allocation(s).
```
### Steps to Reproduce
<!-- List of steps, sample code, failing test or link to a project that reproduces the behavior.
     Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues -->
run cmd;
```
 /usr/local/bin/magick composite input1 input2 output.ps3
```
### System Configuration
<!-- Tell us about the environment where you are experiencing the bug -->

- ImageMagick version: 
7.0.8-43
- Environment (Operating system, version and so on): 
Linux ubuntu 4.15.0-47-generic #50~16.04.1-Ubuntu SMP Fri Mar 15 16:06:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
- Additional information:
./configure CC="gcc" CXX="g++" CFLAGS="-g -fsanitize=address" -disable-shared

teatcase:
https://github.com/butterflyhack/pocs/blob/master/memory-leaks-2.zip

credit by ADlab of Venustech

<!-- Thanks for reporting the issue to ImageMagick! -->

--- end body ---
