Commit 230f96c
committed
screen: Fix use of memory after it is freed
Fixes Clang static analyzer warning:
core/screen.c:754:16: warning: Use of memory after it is freed
result = g_list_prepend (result, info);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 parent 76a5cff commit 230f96c
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| 752 | + | |
752 | 753 | | |
753 | | - | |
754 | | - | |
755 | 754 | | |
756 | 755 | | |
757 | 756 | | |
| |||
0 commit comments