summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/capi-media-camera.spec2
-rw-r--r--src/camera.c13
2 files changed, 1 insertions, 14 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 9ff8cc3..a725884 100755
--- a/packaging/capi-media-camera.spec
+++ b/packaging/capi-media-camera.spec
@@ -3,7 +3,7 @@
Name: capi-media-camera
Summary: A Camera library in Tizen C API
-Version: 0.2.5
+Version: 0.2.6
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index d2faba8..030c075 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -530,7 +530,6 @@ static int __mm_camera_message_callback(int message, void *param, void *user_dat
MMMessageParamType *m = (MMMessageParamType *)param;
camera_state_e previous_state;
camera_policy_e policy = CAMERA_POLICY_NONE;
- MMCamRecordingReport *report = NULL;
MMCamFaceDetectInfo *cam_fd_info = NULL;
if (handle->relay_message_callback) {
@@ -621,18 +620,6 @@ static int __mm_camera_message_callback(int message, void *param, void *user_dat
}
}
break;
- case MM_MESSAGE_CAMCORDER_VIDEO_CAPTURED:
- case MM_MESSAGE_CAMCORDER_AUDIO_CAPTURED:
- report = (MMCamRecordingReport *)m->data;
- if (report != NULL && report->recording_filename) {
- free(report->recording_filename);
- report->recording_filename = NULL;
- }
- if (report) {
- free(report);
- report = NULL;
- }
- break;
case MM_MESSAGE_CAMCORDER_VIDEO_SNAPSHOT_CAPTURED:
if (handle->user_cb[_CAMERA_EVENT_TYPE_CAPTURE_COMPLETE]) {
((camera_capture_completed_cb)handle->user_cb[_CAMERA_EVENT_TYPE_CAPTURE_COMPLETE])(handle->user_data[_CAMERA_EVENT_TYPE_CAPTURE_COMPLETE]);