- Add to free mmc_path due to memory leak
- Add to const paramter due to build warning
Change-Id: Ic10c3c74a43788f062fb3d66b55d30961f8c9bf0
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
Name: media-server
Summary: A server for media content management
-Version: 0.3.27
+Version: 0.3.28
Release: 0
Group: Multimedia/Service
License: Apache-2.0
int ms_present_mmc_status(ms_sdcard_status_type_t status);
#endif
-void ms_make_default_path_mmc(char *mount_path);
+void ms_make_default_path_mmc(const char *mount_path);
int ms_get_mmc_id(char **cid);
int ms_get_stg_changed_event(void);
#define DIR_NUM ((int)(sizeof(default_path)/sizeof(default_path[0])))
-void ms_make_default_path_mmc(char *mount_path)
+void ms_make_default_path_mmc(const char *mount_path)
{
int i = 0;
int ret = 0;
closedir(dp);
}
}
+
+ MS_SAFE_FREE(mmc_path);
}
static int __get_contents(const char *filename, char *buf)