remove g_variant_iter_free on not allocated variable 98/53198/1 accepted/tizen/mobile/20151203.074640 accepted/tizen/tv/20151203.074654 accepted/tizen/wearable/20151203.074747 submit/tizen/20151203.021239
authorMok Jeongho <jho.mok@samsung.com>
Wed, 2 Dec 2015 12:37:42 +0000 (21:37 +0900)
committerMok Jeongho <jho.mok@samsung.com>
Wed, 2 Dec 2015 12:39:01 +0000 (21:39 +0900)
[Version] Release 0.3.32
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I5f5b18e2c3b022788e971c01e064ab6a7aa0cd12

packaging/capi-media-sound-manager.spec
src/sound_manager_private.c

index 9ee6dce6c5748925142f7dab46f8ad58825a42ed..826b0628606060c7f6504c0c59cae6c6a1584069 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-sound-manager
 Summary:    Sound Manager library
-Version:    0.3.31
+Version:    0.3.32
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index cb71e8f129b3ab64288978e074134446a190a33c..da80a6e58836ac3fbcf3dbb35d126022ed16c92b 100644 (file)
@@ -588,7 +588,6 @@ int _get_stream_conf_info(const char *stream_type, stream_conf_info_s *info)
                                }
                        }
                }
-               g_variant_iter_free(&iter);
                g_variant_unref(item);
                g_variant_unref(child);
 
@@ -608,7 +607,6 @@ int _get_stream_conf_info(const char *stream_type, stream_conf_info_s *info)
                                info->avail_in_devices[i++] = strdup(name);
                        }
                }
-               g_variant_iter_free(&iter);
                g_variant_unref(item);
                g_variant_unref(child);
 
@@ -628,7 +626,6 @@ int _get_stream_conf_info(const char *stream_type, stream_conf_info_s *info)
                                info->avail_out_devices[i++] = strdup(name);
                        }
                }
-               g_variant_iter_free(&iter);
                g_variant_unref(item);
                g_variant_unref(child);
 
@@ -648,7 +645,6 @@ int _get_stream_conf_info(const char *stream_type, stream_conf_info_s *info)
                                info->avail_frameworks[i++] = strdup(name);
                        }
                }
-               g_variant_iter_free(&iter);
                g_variant_unref(item);
                g_variant_unref(child);
                g_variant_unref(result);