Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasMagnus committed Nov 15, 2023
1 parent 2ffa495 commit 8cc4341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/Utils/File.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ char *cl_util_read_exe_relative_text_file(const char *const rel_path,
cl_int err = CL_SUCCESS;
size_t exe_folder_length;
OCLERROR_RET(cl_util_executable_folder(NULL, &exe_folder_length), err, end);
MEM_CHECK(abs_path = (char *)malloc(exe_folder_length
+ strlen(rel_path) + 1),
MEM_CHECK(abs_path =
(char *)malloc(exe_folder_length + strlen(rel_path) + 1),
err, end);
OCLERROR_RET(cl_util_executable_folder(abs_path, NULL), err, end);
strcat(strcat(abs_path, "/"), rel_path);
Expand Down

0 comments on commit 8cc4341

Please sign in to comment.