VD
Size: a a a
VD
VD
W
W
VD
W
VD
W
VD
VD
W
W
LeakSanitizer
находит утечки памяти в XextCreateExtension (/usr/lib64/libXext.so.6+0x1373d)
?#include <GLFW/glfw3.h>
auto main(void) -> int {
glfwInit();
GLFWwindow* window = glfwCreateWindow(256, 256, "NONE", nullptr, nullptr);
glfwMakeContextCurrent(window);
glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
while (!glfwWindowShouldClose(window)) {
glfwPollEvents();
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
}
glfwTerminate();
return 0;
}
W
LeakSanitizer
находит утечки памяти в XextCreateExtension (/usr/lib64/libXext.so.6+0x1373d)
?#include <GLFW/glfw3.h>
auto main(void) -> int {
glfwInit();
GLFWwindow* window = glfwCreateWindow(256, 256, "NONE", nullptr, nullptr);
glfwMakeContextCurrent(window);
glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
while (!glfwWindowShouldClose(window)) {
glfwPollEvents();
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
}
glfwTerminate();
return 0;
}
VD
LeakSanitizer
находит утечки памяти в XextCreateExtension (/usr/lib64/libXext.so.6+0x1373d)
?#include <GLFW/glfw3.h>
auto main(void) -> int {
glfwInit();
GLFWwindow* window = glfwCreateWindow(256, 256, "NONE", nullptr, nullptr);
glfwMakeContextCurrent(window);
glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
while (!glfwWindowShouldClose(window)) {
glfwPollEvents();
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
}
glfwTerminate();
return 0;
}
IL
LeakSanitizer
находит утечки памяти в XextCreateExtension (/usr/lib64/libXext.so.6+0x1373d)
?#include <GLFW/glfw3.h>
auto main(void) -> int {
glfwInit();
GLFWwindow* window = glfwCreateWindow(256, 256, "NONE", nullptr, nullptr);
glfwMakeContextCurrent(window);
glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
while (!glfwWindowShouldClose(window)) {
glfwPollEvents();
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
}
glfwTerminate();
return 0;
}
IL
IL
W
A