this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #1890 from OldiLo/main

Fix crash when internet is disabled

authored by

Vadim Grigoruk and committed by
GitHub
a4f318fa 5a58a7a6

+6 -3
+1
.gitignore
··· 176 176 build/mruby_vendor-prefix/ 177 177 **/zig-cache 178 178 **/zig-out 179 + .cache
+5 -3
src/studio/net.c
··· 430 430 static void onClose(uv_handle_t* handle) 431 431 { 432 432 NetRequest* req = handle->data; 433 - FREE(req->content.data); 434 - free((void*)req->path); 435 - free(req); 433 + if (req){ 434 + FREE(req->content.data); 435 + free((void*)req->path); 436 + free(req); 437 + } 436 438 } 437 439 438 440 static void freeRequest(NetRequest* req)