Skip to content

Ghidra is a software reverse engineering (SRE) framework

small bug fix for restoring program locations

dragonmacher63503ac3b502
diff --git a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/location/DefaultDecompilerLocation.java b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/location/DefaultDecompilerLocation.java
index 6b4765fbca..9f4942a101 100644
--- a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/location/DefaultDecompilerLocation.java
+++ b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/location/DefaultDecompilerLocation.java
@@ -33,12 +33,12 @@ public class DefaultDecompilerLocation extends ProgramLocation implements Decomp
public DefaultDecompilerLocation(Program program, Address address,
DecompilerLocationInfo info) {
super(program, address);
-
this.info = info;
}
public DefaultDecompilerLocation() {
// for restoring from xml
+ info = new DecompilerLocationInfo();
}
@Override