Don't double-free the export

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Don't overshoot client specified maximum slot

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>