| author | |
| committer | |
| log | 861df93768ed007ce6f5e6928fc3af8c5860f551 |
| tree | 0aec924eeb29ceacbc491cdc56370f50c72d3c92 |
| parent | e567abb339e1edaf5a3c86fe632522a3b8005275 |
1 files changed, 1 insertions(+), 4 deletions(-)
src/link/Elf.zig+1-4| ... | ... | @@ -1506,10 +1506,7 @@ fn parseDso( |
| 1506 | 1506 | const soname = header.soname() orelse dso.path.basename(); |
| 1507 | 1507 | |
| 1508 | 1508 | const gop = try shared_objects.getOrPut(gpa, soname); |
| 1509 | if (gop.found_existing) { | |
| 1510 | header.deinit(gpa); | |
| 1511 | return; | |
| 1512 | } | |
| 1509 | if (gop.found_existing) return; | |
| 1513 | 1510 | errdefer _ = shared_objects.pop(); |
| 1514 | 1511 | |
| 1515 | 1512 | const index: File.Index = @intCast(try files.addOne(gpa)); |