rtsp-sdp: Fix resource leak in mikey messsage

Fixed a resource leak for mikey message while adding crypto session
failed.

Part-of: <gstreamer/gst-rtsp-server!144>
28 jobs for !144 with fix-resource-leak-mikey-message in 22 minutes and 29 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Build Docker
passed #3623503
alpine amd64 manifest builder docker

00:00:26

passed #3623501
android docker

00:00:26

passed #3623499
cerbero fedora amd64 docker

00:00:27

passed #3623497
fedora amd64 docker

00:00:25

passed #3623504
gst-indent amd64 docker

00:01:11

 
  Preparation
passed #3623508
gst indent

00:00:17

passed #3623507
manifest

00:00:26

 
  Build
passed #3623526
gstreamer
build cerbero cross-android universal

00:08:40

passed #3623534
gst-ios-13.2
build cerbero cross-ios universal

00:17:28

passed #3623528
gstreamer
build cerbero cross win32

00:07:10

passed #3623530
gstreamer
build cerbero cross win64

00:04:24

passed #3623524
gstreamer
build cerbero fedora x86_64

00:05:44

passed #3623532
gst-macos-10.15
build cerbero macos x86_64

00:12:03

passed #3623516
build clang fedora x86_64

00:05:01

manual #3623522
1809 windows docker allowed to fail manual
build msys2
passed #3623510
build nodebug fedora x86_64

00:04:22

passed #3623512
build static fedora x86_64

00:04:30

passed #3623514
build static nodebug fedora x86_64

00:03:36

passed #3623518
1809 windows docker
build vs2017 amd64

00:14:52

passed #3623520
1809 windows docker
build vs2017 x86

00:14:33

 
  Test
passed #3623536
gstreamer
check fedora

00:05:46

passed #3623538
gstreamer
integration testsuites fedora 1/4

00:12:46

passed #3623540
gstreamer
integration testsuites fedora 2/4

00:12:55

passed #3623542
gstreamer
integration testsuites fedora 3/4

00:12:00

passed #3623544
gstreamer
integration testsuites fedora 4/4

00:14:10

 
  Integrate
passed #3623547
cross-android universal examples

00:06:31

passed #3623550
gst-ios-13.2
cross-ios universal examples

00:01:27

passed #3623549
documentation

00:08:48