SPURLExtensions: Allocate correct amount of memory for each link

Change-Id: I09b77a37e830c76cf7df92d48590a9fe7b63e33b