|
ea018644f2
|
skipping strdup on NULL string param
|
2025-01-31 12:37:08 +01:00 |
|
|
c5394e63e5
|
created why2_recalloc fn in memory
deallocates and callocs
|
2024-11-21 16:52:06 +01:00 |
|
|
65135ac961
|
created why2_allocated fn
checks for why2-mem allocation
|
2024-04-20 11:22:09 +02:00 |
|
|
a141065189
|
addded null check to why2_deallocate
|
2024-02-25 12:25:29 +01:00 |
|
|
c9e1567ae9
|
added missing license to memory related files
|
2024-01-23 18:29:33 +01:00 |
|
|
a0aabc547a
|
updated performance in why2_deallocate
now if you attempt to deallocate NULL, get_node doesn't go trough the whole list
|
2023-08-27 12:18:51 +02:00 |
|
|
3b85c5fc5a
|
added NULL check to all remove_node functions
|
2023-02-21 12:39:54 +01:00 |
|
|
34a387f032
|
fixed why2_clean_memory memory leak
I was trying to use deallocated node, so yeah
|
2023-02-08 10:32:03 +01:00 |
|
|
a2492aa124
|
merge remote into development
|
2023-02-08 09:49:29 +01:00 |
|
|
ff1b95748c
|
removed uunsed includes
|
2023-02-08 09:41:14 +01:00 |
|
|
bdd947fc64
|
defined why2_opendir
fuck if this is gonna be painful as the last memory functions, I'm gonna hang myself
|
2023-02-06 16:58:14 +01:00 |
|
|
7d79ee29eb
|
added some useless NULL check
|
2023-02-06 16:52:08 +01:00 |
|
|
109ec9a7b6
|
removed why2_open stuff
declaration and definition
|
2023-02-06 08:18:14 +01:00 |
|
|
29dd766903
|
added why2_open problem TODO
|
2023-02-05 20:06:10 +01:00 |
|
|
263c73b80f
|
defined why2_open
|
2023-02-05 19:05:52 +01:00 |
|
|
6844b3d218
|
moved NULL check to top of why2_deallocate
|
2023-02-05 18:54:11 +01:00 |
|
|
c5d5f12140
|
fixed why2_fdopen POINTER_TYPES typo
|
2023-02-05 18:53:00 +01:00 |
|
|
90b1fef457
|
defined why2_fdopen
|
2023-02-05 18:45:20 +01:00 |
|
|
395f78707a
|
moved remove_node at the bottom of why2_deallocate
cuz fokin memory leak
memery lek
|
2023-02-05 18:43:10 +01:00 |
|
|
eb9033dedd
|
defined why2_fopen
|
2023-02-05 18:26:17 +01:00 |
|
|
6e7ea8b6f5
|
renamed why2_free to why2_deallocate
|
2023-02-05 18:25:42 +01:00 |
|
|
d0aea64acc
|
created & implemented OPENDIR
|
2023-02-05 18:21:00 +01:00 |
|
|
86d206ba7b
|
implemented node-type in why2_free
|
2023-02-05 18:12:33 +01:00 |
|
|
2422079bba
|
defined POINTER_TYPES in memory and implemented it
|
2023-02-05 17:58:59 +01:00 |
|
|
f4975050e4
|
added 'bypass' to why2_clean_memory
if you pass DEFAULT_IDENTIFIER as parameter every node is deallocated
|
2023-02-03 16:43:04 +01:00 |
|
|
cd4c94024a
|
fixed why2_clean_memory memory leak
wow 'garbage collector' that cases memory leaks
pls don't laugh at me :(
|
2023-02-03 16:37:58 +01:00 |
|
|
eec8d13a5c
|
added identifier reset at the end of why2_clean_memory
|
2023-02-02 17:56:56 +01:00 |
|
|
b49f582c5c
|
defined why2_clean_memory
it should be complete now, time to implement it
|
2023-02-02 16:53:25 +01:00 |
|
|
790eada639
|
fixed possible segfault in remove_node
|
2023-02-02 16:52:42 +01:00 |
|
|
1b9d0a04d8
|
implemented memory_identifier in memory
added it to every node
|
2023-02-02 16:37:04 +01:00 |
|
|
9bfa7453ec
|
fixed why2_realloc memory leak
so basically - this function was running realloc SO free() was used... I need why2_free() :D
fixed that fucking leak yay
|
2023-02-02 15:50:43 +01:00 |
|
|
c9c65badad
|
variable name typo fix
|
2023-02-02 15:34:41 +01:00 |
|
|
c3e602de90
|
random reformatting
|
2023-02-02 15:27:05 +01:00 |
|
|
17cc602629
|
fixed possible get_node issue
|
2023-02-02 15:24:26 +01:00 |
|
|
568ac4e43e
|
renamed get_node's parameter to pointer
|
2023-02-02 15:19:25 +01:00 |
|
|
273caad781
|
replaced doubly linked list with single linked list in memory
there's now much smaller place for bugs, BUT THEY ARE STILL THERE wtf
|
2023-02-02 15:09:22 +01:00 |
|
|
f405c486c8
|
I have no idea what I'm doing
|
2023-02-01 16:10:51 +01:00 |
|
|
d1b3960799
|
fixed some potention segfault
|
2023-02-01 15:59:04 +01:00 |
|
|
115a4c20de
|
fixed some shitty bugs in remove_node
yay now like 4561456456 bugs remain
|
2023-02-01 15:53:58 +01:00 |
|
|
85731bab38
|
added check if pointer was found in why2_free
|
2023-02-01 15:26:17 +01:00 |
|
|
0b4ca30ec9
|
defined why2_strdup
I hope I won't fuck up anything by this
|
2023-02-01 15:10:10 +01:00 |
|
|
66560fd033
|
reformated why2_free
I just realized I am freeing with why2_free ALL THE TIME, so it is causing some problems when freeing like strdup or anything
|
2023-02-01 15:06:00 +01:00 |
|
|
c8e2c4226d
|
added list deallocation to remove_node
|
2023-01-31 19:03:02 +01:00 |
|
|
fefc2f83e2
|
fixed remove_node linking problems
the fucking memory leaks remain
|
2023-01-31 18:52:52 +01:00 |
|
|
7a017b3a8c
|
fixed some linked list shit
|
2023-01-31 18:17:59 +01:00 |
|
|
026f2fa458
|
moved some code from why2_free to remove_node
|
2023-01-31 16:41:02 +01:00 |
|
|
c487d4eeee
|
defined why2_realloc
|
2023-01-31 15:52:46 +01:00 |
|
|
a199f30c7c
|
commented out unused buffer
|
2023-01-31 15:43:33 +01:00 |
|
|
c5558c554e
|
implemented doubly linked list in memory
please help me; this was painful
|
2023-01-31 15:41:51 +01:00 |
|
|
e075c022fa
|
defined why2_calloc & why2_free
same thing as why2_malloc
|
2023-01-29 20:36:54 +01:00 |
|