Skip to content
This repository was archived by the owner on Oct 23, 2022. It is now read-only.

Commit 4b60fdd

Browse files
author
Sharkbyteprojects
committed
add comment
1 parent ed67f7f commit 4b60fdd

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

libUvTest/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
cmake_minimum_required (VERSION 3.8)
22

33
add_executable (libUvTest "libUvTest.c" "libUvTest.h")
4-
5-
if (CMAKE_VERSION VERSION_GREATER 3.12)
6-
set_property(TARGET libUvTest PROPERTY CXX_STANDARD 20)
7-
endif()
8-
94
target_link_libraries(libUvTest uv)

libUvTest/libUvTest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static void after_read(uv_stream_t* handle,
7979
send[nread - 1 - s] = buf->base[s];
8080
}
8181
send[nread] = 0;
82-
free(buf->base);
82+
free(buf->base);// FREE BUFFER IF NOT NEEDED
8383
}
8484
//END OF REVERSE
8585

0 commit comments

Comments
 (0)