cgen: Free optional string #22068
Labels
Bug
This tag is applied to issues which reports bugs.
Option Type
Bugs/feature requests, that are related to `?Type`.
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
Describe the bug
Try to free an structure with a optional string
Reproduction Steps
Expected Behavior
The program compile and run correctly without errors
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
Current V version: V 0.4.7 e9c9580, timestamp: 2024-08-17 14:34:42 +0300
Environment details (OS name and version, etc.)
V full version: V 0.4.7 4940f2d.e9c9580
OS: linux, Ubuntu 24.04 LTS
Processor: 16 cpus, 64bit, little endian, AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
vexe: /home/esquerbatua/git/v/v
vexe mtime: 2024-08-17 12:30:16
vroot: OK, value: /home/esquerbatua/git/v
VMODULES: OK, value: /home/esquerbatua/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.43.0
Git vroot status: weekly.2024.33-19-ge9c95803
.git/config present: true
CC version: cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
thirdparty/tcc status: thirdparty-linux-amd64 0134e9b9
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: