efl/emotion: Fix memory leak in gstreamer_ecore_x_check().
authorStefan Schmidt <stefan@datenfreihafen.org>
Fri, 8 Feb 2013 15:49:56 +0000 (15:49 +0000)
committerStefan Schmidt <stefan@datenfreihafen.org>
Fri, 8 Feb 2013 15:49:56 +0000 (15:49 +0000)
The suported atom gets allocated in the ecore_x call but we leave
the scope here without freeing the resource again. Free it when
going out of scope.

SVN revision: 83790

src/modules/emotion/gstreamer/emotion_gstreamer.c

index e48d8f0..894649c 100644 (file)
@@ -1110,6 +1110,7 @@ gstreamer_ecore_x_check(void)
                             window_manager_video = EINA_TRUE;
                          }
                     }
+                  free(supported);
                }
           }
      }