lavf/tee: fix leak of strdup/strtoked buffer.

Fix CID 1108606.
lavf/tee: fix leak of select option.
lavf/tee: fix leak of bsfs array.
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  lavf/tee: fix leak of bsfs array.
  lavf/tee: fix leak of select option.
  lavf/tee: fix leak of strdup/strtoked buffer.

Merged-by: Michael Niedermayer <michaelni@gmx.at>