merge with master
[platform/core/system/sync-agent.git] / src / fw-plugins / common-public / vcalendar / src / encoding_util.c
index 429041e..8cc5d86 100755 (executable)
@@ -548,14 +548,6 @@ int proc_decoding(const char *src, int src_len, char **de_src, int *de_src_len)
                /*edited code for line beaker */
                char *colon_loc_temp = colon_loc;
                while (line_breaker_loc == NULL) {
-                       if(colon_loc_temp == NULL) {
-                               _DEBUG_ERROR("[encoding_util] colon_loc_temp is NULL !!\n");
-                               if(de_temp != NULL)
-                                       free(de_temp);
-                               if (*de_src != NULL)
-                                       free(*de_src);
-                               return 0;
-                       }
                        line_breaker_loc = strstr(colon_loc_temp, line_breaker);        /* find "\r\n"'s location */
                        if (line_breaker_loc > colon_loc_temp && !strncmp(line_breaker_loc - 1, "=", 1)) {
                                colon_loc_temp = line_breaker_loc + 1;