Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
icmptunnel
0003-Free-the-unfree-heap.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Free-the-unfree-heap.patch of Package icmptunnel
From 267a9ec7af03bf05f467d94550f15a969bfb8611 Mon Sep 17 00:00:00 2001 From: Leo <forever3580ya@gmail.com> Date: Sat, 22 Apr 2017 15:47:55 +0800 Subject: [PATCH 3/3] Free the unfree heap --- tunnel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tunnel.c b/tunnel.c index ef09b73..ba28e67 100644 --- a/tunnel.c +++ b/tunnel.c @@ -243,6 +243,7 @@ void run_tunnel(char *dest, int server) printf("[DEBUG] Src address being copied: %s\n", packet.src_addr); strncpy(dest, packet.src_addr, strlen(packet.src_addr) + 1); + free(packet.payload); } } -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor